Skip to main content
comment formatting
Source Link
AReddy
  • 3.2k
  • 6
  • 37
  • 77
> node node_modules/karma/bin/karma start test/karma.conf.js INFO [karma]: Karma v0.12.30 server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome ERROR [launcher]: Cannot start Chrome Can not find the binary google-chrome Please set env variable CHROME_BIN 

OK, I appreciate this must be a gigantic nooby style question, but I am still in the process of attempting to migrate my life from Windows and every now and again something like this trips me up.

I am going through an Angular JS tutorial: https://docs.angularjs.org/tutorialAngular JS tutorial.

When attempting to run a series of test I am confronted with the above message.

The /etc/environment file now reads (note the Chromium ending):

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games/:/usr/bin/chromium-browser:" 

I then ran

source /etc/environment 

Restarted terminal and attempted the tests again, but I have the same result.

What is the error really telling me? Am I meant to set a new variable named CHROME_BIN and point this to /usr/bin/chromium-browser?

> node node_modules/karma/bin/karma start test/karma.conf.js INFO [karma]: Karma v0.12.30 server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome ERROR [launcher]: Cannot start Chrome Can not find the binary google-chrome Please set env variable CHROME_BIN 

OK, I appreciate this must be a gigantic nooby style question, but I am still in the process of attempting to migrate my life from Windows and every now and again something like this trips me up.

I am going through an Angular JS tutorial: https://docs.angularjs.org/tutorial

When attempting to run a series of test I am confronted with the above message.

The /etc/environment file now reads (note the Chromium ending):

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games/:/usr/bin/chromium-browser:" 

I then ran

source /etc/environment 

Restarted terminal and attempted the tests again, but I have the same result.

What is the error really telling me? Am I meant to set a new variable named CHROME_BIN and point this to /usr/bin/chromium-browser?

> node node_modules/karma/bin/karma start test/karma.conf.js INFO [karma]: Karma v0.12.30 server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome ERROR [launcher]: Cannot start Chrome Can not find the binary google-chrome Please set env variable CHROME_BIN 

OK, I appreciate this must be a gigantic nooby style question, but I am still in the process of attempting to migrate my life from Windows and every now and again something like this trips me up.

I am going through an Angular JS tutorial.

When attempting to run a series of test I am confronted with the above message.

The /etc/environment file now reads (note the Chromium ending):

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games/:/usr/bin/chromium-browser:" 

I then ran

source /etc/environment 

Restarted terminal and attempted the tests again, but I have the same result.

What is the error really telling me? Am I meant to set a new variable named CHROME_BIN and point this to /usr/bin/chromium-browser?

deleted 12 characters in body; edited tags
Source Link
Braiam
  • 36.9k
  • 29
  • 114
  • 176
> node node_modules/karma/bin/karma start test/karma.conf.js INFO [karma]: Karma v0.12.30 server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome ERROR [launcher]: Cannot start Chrome Can not find the binary google-chrome Please set env variable CHROME_BIN 

OK, iI appreciate this must be a gigantic nooby style question, but iI am still in the process of attempting to migrate my life from windowsWindows and every now and again something like this trips me up.

I am going through an Angular JS tutorial: https://docs.angularjs.org/tutorial

When attempting to run a series of test iI am confronted with the above message.

The /etc/environment file now reads (note the chromiumChromium ending):

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games/:/usr/bin/chromium-browser:" 

I then ran

source /etc/environment 

Restarted terminal and attempted the tests again, but i gotI have the same result.

What is the error really telling me? Am iI meant to set a new variable named CHROME_BIN and point this to /usr/bin/chromium-browser?

Thanks, John

> node node_modules/karma/bin/karma start test/karma.conf.js INFO [karma]: Karma v0.12.30 server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome ERROR [launcher]: Cannot start Chrome Can not find the binary google-chrome Please set env variable CHROME_BIN 

OK, i appreciate this must be a gigantic nooby style question, but i am still in the process of attempting to migrate my life from windows and every now and again something like this trips me up.

I am going through an Angular JS tutorial: https://docs.angularjs.org/tutorial

When attempting to run a series of test i am confronted with the above message.

The /etc/environment file now reads (note the chromium ending):

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games/:/usr/bin/chromium-browser:" 

I then ran

source /etc/environment 

Restarted terminal and attempted the tests again, but i got the same result.

What is the error really telling me? Am i meant to set a new variable named CHROME_BIN and point this to /usr/bin/chromium-browser?

Thanks, John

> node node_modules/karma/bin/karma start test/karma.conf.js INFO [karma]: Karma v0.12.30 server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome ERROR [launcher]: Cannot start Chrome Can not find the binary google-chrome Please set env variable CHROME_BIN 

OK, I appreciate this must be a gigantic nooby style question, but I am still in the process of attempting to migrate my life from Windows and every now and again something like this trips me up.

I am going through an Angular JS tutorial: https://docs.angularjs.org/tutorial

When attempting to run a series of test I am confronted with the above message.

The /etc/environment file now reads (note the Chromium ending):

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games/:/usr/bin/chromium-browser:" 

I then ran

source /etc/environment 

Restarted terminal and attempted the tests again, but I have the same result.

What is the error really telling me? Am I meant to set a new variable named CHROME_BIN and point this to /usr/bin/chromium-browser?

Source Link
John
  • 235
  • 1
  • 3
  • 9

Please set env variable CHROME_BIN

> node node_modules/karma/bin/karma start test/karma.conf.js INFO [karma]: Karma v0.12.30 server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome ERROR [launcher]: Cannot start Chrome Can not find the binary google-chrome Please set env variable CHROME_BIN 

OK, i appreciate this must be a gigantic nooby style question, but i am still in the process of attempting to migrate my life from windows and every now and again something like this trips me up.

I am going through an Angular JS tutorial: https://docs.angularjs.org/tutorial

When attempting to run a series of test i am confronted with the above message.

The /etc/environment file now reads (note the chromium ending):

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games/:/usr/bin/chromium-browser:" 

I then ran

source /etc/environment 

Restarted terminal and attempted the tests again, but i got the same result.

What is the error really telling me? Am i meant to set a new variable named CHROME_BIN and point this to /usr/bin/chromium-browser?

Thanks, John