Skip to content
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

Raspbian system won't launch Chromium #37

Closed
xescure opened this issue Aug 5, 2019 · 5 comments
Closed

Raspbian system won't launch Chromium #37

xescure opened this issue Aug 5, 2019 · 5 comments

Comments

@xescure
Copy link

xescure commented Aug 5, 2019

I am getting this error for the command fast:

Failed to launch chrome!
/home/user/.nvm/versions/node/v10.16.1/lib/node_modules/fast-cli/node_modules/puppeteer/.local-chromium/linux-674921/chrome-linux/chrome: 1: /home/user/.nvm/versions/node/v10.16.1/lib/node_modules/fast-cli/node_modules/puppeteer/.local-chromium/linux-674921/chrome-linux/chrome: Syntax error: Unterminated quoted string


TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

I went through the steps on the troubleshooting link and found that all dependencies are installed except for one. (libappindicator1). However after installing the package, the issue still persists.

@sindresorhus
Copy link
Owner

The error is coming from https://github.com/GoogleChrome/puppeteer and should be opened there instead.

@K3UL
Copy link

K3UL commented Oct 13, 2020

@sindresorhus The solution for this is to use executablePath in Puppeteer, to point it to an ARM version of Chromium. Would you consider exposing this parameter in fast-cli ?

@metropt
Copy link

metropt commented Nov 23, 2020

Face the same problem today. It would be nice if it is possible to pass a path as argument

@paulinechi
Copy link

Face the same problem today. It would be nice if it is possible to pass a path as argument

Hi I'm facing the same issue today, how did you fixed the problem?

@mschirrmeister
Copy link

You could set PUPPETEER_EXECUTABLE_PATH and point it to your chromium binary. In my Dockerfile I set for example 2 variables.

ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants