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

problem to install on Debian #1858

Closed
Threepwood77 opened this issue Jan 19, 2018 · 1 comment
Closed

problem to install on Debian #1858

Threepwood77 opened this issue Jan 19, 2018 · 1 comment

Comments

@Threepwood77
Copy link

Hello,

I have trouble installing this Puppeteer system...
I'm trying to install it on a new Debian 9 installation (I also tried it on an 8).
After installation by "npm i puppeteer", here's what I have:

puppeteer@1.0.0 install /home/guybrush/node_modules/puppeteer
node install.js

Downloading Chromium r526987 - 97.1 Mb [====================] 100% 0.0s
Chromium downloaded to /home/guybrush/node_modules/puppeteer/.local-chromium/linux-526987
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN guybrush No description
npm WARN guybrush No repository field.
npm WARN guybrush No license field.

  • puppeteer@1.0.0

if I go through yarn "yarn add puppeteer" , I have this:

info No lockfile found.
[1/4] Resolving packages...
info There appears to be trouble with your network connection. Retrying...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 40 new dependencies.
├─ agent-base@4.2.0
├─ async-limiter@1.0.0
├─ balanced-match@1.0.0
├─ brace-expansion@1.1.8
├─ concat-map@0.0.1
├─ concat-stream@1.6.0
├─ core-util-is@1.0.2
├─ debug@2.6.9
├─ es6-promise@4.2.2
├─ es6-promisify@5.0.0
├─ extract-zip@1.6.6
├─ fd-slicer@1.0.1
├─ fs.realpath@1.0.0
├─ glob@7.1.2
├─ https-proxy-agent@2.1.1
├─ inflight@1.0.6
├─ inherits@2.0.3
├─ isarray@1.0.0
├─ mime@1.6.0
├─ minimatch@3.0.4
├─ minimist@0.0.8
├─ mkdirp@0.5.0
├─ ms@2.0.0
├─ once@1.4.0
├─ path-is-absolute@1.0.1
├─ pend@1.2.0
├─ process-nextick-args@1.0.7
├─ progress@2.0.0
├─ proxy-from-env@1.0.0
├─ puppeteer@1.0.0
├─ readable-stream@2.3.3
├─ rimraf@2.6.2
├─ safe-buffer@5.1.1
├─ string_decoder@1.0.3
├─ typedarray@0.0.6
├─ ultron@1.1.1
├─ util-deprecate@1.0.2
├─ wrappy@1.0.2
├─ ws@3.3.3
└─ yauzl@2.4.1
Done in 162.07s.

Sounds okay.

in both cases, if I then try to run chromium or chromium_sandbox:
/node_modules/puppeteer/.local-chromium/linux-526987/chrome-linux#
I have this message:
bash: ./chrome_sandbox: cannot execute binary file: Exec format error

my version of nodejs: v9.4.0

:(
Can someone help me ?

thank you.

@aslushnikov
Copy link
Contributor

This sounds like issues running on ARM. Check out #550 and maybe #290.

Also, there's troubleshooting.md that might be helpful.

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

2 participants