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

Cannot install via npm #3

Closed
willbchang opened this issue Dec 18, 2017 · 2 comments
Closed

Cannot install via npm #3

willbchang opened this issue Dec 18, 2017 · 2 comments

Comments

@willbchang
Copy link

npm install -g github-uploader
/usr/local/bin/github-uploader -> /usr/local/lib/node_modules/github-uploader/lib/cli.js
/usr/local/bin/gu -> /usr/local/lib/node_modules/github-uploader/lib/cli.js

> puppeteer@0.13.0 install /usr/local/lib/node_modules/github-uploader/node_modules/puppeteer
> node install.js

ERROR: Failed to download Chromium r515411! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: read ETIMEDOUT
    at _errnoException (util.js:1024:11)
    at TLSWrap.onread (net.js:615:25) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! puppeteer@0.13.0 install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the puppeteer@0.13.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/willbeethoven/.npm/_logs/2017-12-18T05_24_19_789Z-debug.log
@willbchang willbchang changed the title Cannot to install via npm Cannot install via npm Dec 18, 2017
@homerchen19
Copy link
Owner

Hi @WillBeethoven ,

It seems to be network issue.
puppeteer/puppeteer#1597

@willbchang
Copy link
Author

willbchang commented Dec 24, 2017

Well, I struggled with this issue for two hours this morning. After running npm install -g cnpm --registry=https://registry.npm.taobao.org and cnpm i puppeteer, I thought it should work but failed at login with the access error. So I downloaded nvm to avoid writing access error. Then running cnpm install -g github-uploader.

Finally, it works.

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