-
Notifications
You must be signed in to change notification settings - Fork 120
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
Comments
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 |
Ok Thanks, I am just not sure about :do I need to have browser installed? |
@spagu browser should be installed on machine where you run tests |
Documentation about CHROME_BIN variable - http://karma-runner.github.io/0.13/config/browsers.html Thanks |
The same problem on cloud9 IDE....details are here Somebody deal with Cloud9 IDE please? |
i use ubuntu with php-storm and chromium for my development an have done the following: Terminal:
PHP-Storm:
|
エラーメッセージを検索して、対処していった。 プラグイン不足 - 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)
How can I add into node:lts-alpine3.11? # base image
FROM node:lts-alpine3.11
# install chrome for protractor tests
RUN apk add chromium && \
export CHROME_BIN='/usr/bin/chromium'
# set working directory
WORKDIR /app
# add `/app/node_modules/.bin` to $PATH
ENV PATH /app/node_modules/.bin:$PATH
# install and cache app dependencies
COPY package.json /app/package.json
RUN npm install
RUN npm install -g @angular/[email protected]
# add app
COPY . /app
# start app
CMD ng serve --host 0.0.0.0 I am trying the above code and it is not working: |
Hello, @prashantidealittechno I know it's over 5 years now since you left this comment. But I was wondering if you had solved this issue? I am new to docker and I am having the same problem. |
@prashantidealittechno, @KurisuLim The issue is explained here - https://stackoverflow.com/a/33379487.
Works fine for me. |
FreeBSD is asking for ''Please, set "CHROME_BIN" env variable.'' What to do ?
The text was updated successfully, but these errors were encountered: