New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[launcher]: No binary for Chrome browser on your platform. #62

Closed
spagu opened this Issue Oct 14, 2015 · 6 comments

Comments

Projects
None yet
5 participants
@spagu
Copy link

spagu commented Oct 14, 2015

FreeBSD is asking for ''Please, set "CHROME_BIN" env variable.'' What to do ?

@maksimr

This comment has been minimized.

Copy link

maksimr commented Oct 14, 2015

You should set global environment variable CHROME_BIN like PATH. You can put 'export CHROME_BIN=google-chrome' to .profile or if you use chromium to shold write something like CHROME_BIN=chromium-browser

@spagu

This comment has been minimized.

Copy link

spagu commented Oct 14, 2015

Ok Thanks, I am just not sure about :do I need to have browser installed?
I am trying to do tests against remote dedicated machine. Firefox works fine.

@maksimr

This comment has been minimized.

Copy link

maksimr commented Oct 14, 2015

@spagu browser should be installed on machine where you run tests

@maksimr

This comment has been minimized.

Copy link

maksimr commented Oct 14, 2015

Documentation about CHROME_BIN variable - http://karma-runner.github.io/0.13/config/browsers.html
section Correct path to browser binary
Feel free reopen

Thanks

@maksimr maksimr closed this Oct 14, 2015

@ddeveloperr

This comment has been minimized.

Copy link

ddeveloperr commented Sep 4, 2017

The same problem on cloud9 IDE....details are here

Somebody deal with Cloud9 IDE please?

@mtizziani

This comment has been minimized.

Copy link

mtizziani commented Feb 8, 2018

i use ubuntu with php-storm and chromium for my development an have done the following:

Terminal:

export CHROME_BIN=/usr/bin/chromium-browser

PHP-Storm:

  1. install the plugin "Karma"
  2. open project
  3. Run -> Edit Configuration -> press + for add a new Karma Runner =>
  • set a name
  • select the karma.conf.json from your project dir
  • use "Chromium" as browser
  1. run will open karma in a new Chromium Tab and all tests are running

oki2a24 added a commit to oki2a24/kanban-app that referenced this issue Jan 20, 2019

fix: 8.8.7 単体テストユーティリティの導入。Vue Test Utilsによる効率化。この状態で動かないのを修正する
エラーメッセージを検索して、対処していった。

プラグイン不足

- javascript - Vue-test-utils can't find `Set()`: ReferenceError: Can't find variable: Set - Stack Overflow https://stackoverflow.com/questions/53764988/vue-test-utils-cant-find-set-referenceerror-cant-find-variable-set
- javascript - karma plugin dependencies not being found - Stack Overflow https://stackoverflow.com/questions/32425580/karma-plugin-dependencies-not-being-found
- Error: No provider for "framework:mocha"! (Resolving: framework:mocha) · Issue #42 · karma-runner/karma-mocha karma-runner/karma-mocha#42 (comment)
- Reporter plugins not working with karma 1.1.1? · Issue #2246 · karma-runner/karma karma-runner/karma#2246 (comment)
- "Can not load "coverage", it is not registered!" error when running · Issue #59 · karma-runner/karma-coverage karma-runner/karma-coverage#59 (comment)

Chrome Headless を使用するために Chromium インストールとパスを設定
apt-get update
apt-get install chromium
hromium --version
export CHROME_BIN=/usr/bin/chromium

- [launcher]: No binary for Chrome browser on your platform. · Issue #62 · karma-runner/karma-chrome-launcher karma-runner/karma-chrome-launcher#62
- Dockerを使ってHeadless Chromeを動かしてみる - Qiita https://qiita.com/dd511805/items/dfe03c5486bf1421875a
- Puppeteer をDockerコンテナで利用する - Qiita https://qiita.com/HeRo/items/9be64b559692e12cc109

Chrome Headless の起動オプション設定

- ChromeHeadless can't run as root with --no-sandbox anymore · Issue #158 · karma-runner/karma-chrome-launcher karma-runner/karma-chrome-launcher#158 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment