CHROME_BIN being ignored
See original GitHub issuekarma seems to fail to find chrome (though it’s in the usual, default location), so I sed CHROME_BIN:
$ echo $CHROME_BIN
/usr/bin/chromium
$ ./node_modules/karma/bin/karma start
INFO [karma]: Karma v0.12.24 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
INFO [Chrome 38.0.2125 (Linux)]: Connected on socket Y_kpEkvqa_GuyoaXj2qd with id manual-7363
$ test -x /usr/bin/chromium; echo $?
0
It seems that karma is ignoring CHROME_BIN.
Aditionally, I’ve seen not *nix distribution package chrome’s binary as google-chrome
, so maybe the default binary name should be chromium
?
Issue Analytics
- State:
- Created 9 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Setting environment variable for CHROME_BIN does not work
Was facing the same issue and I solved it by editing the karma.conf.js and karma-e2e.conf.js files which is under config directory. Change:
Read more >Why is Google Chrome not responding? - Microsoft Community
Sometimes, my Google Chrome would freeze up and say "Google Chrome is not responding" Lately though, it's been happening ALL time.
Read more >1783 - "chrome_binary" capability key is ignored - chromedriver
I'm trying to set up a Selenium Grid 3.4.0 with Chrome Canary. However, when I try to test, the stable Chrome window opens...
Read more >AUR (en) - google-chrome - Arch Linux
For anyone else who is experiencing "Failed to generate google-chrome information" issue: Open Pamac, click three lines at top right, click "preferences", click...
Read more >Buiding chromium browser on windows - Google Groups
Message has been deleted ... nment.x64 False lib.exe /nologo /ignore:4221 ... Hi i still get the error that module type is X86 and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, thanks for the clarification. I was unaware of the difference (subprocesses inheretance).
Maybe karma’s output could use some tweaking to make this clearer?
It’s not obvious that I should use EXPORT according to this.
@hobarrera if you set variable CHROME_BIN without export it will not work because sub process does not inherit this variable. You should use export or run sub process with predefined variable