Medium / phantomjs

NPM wrapper for installing phantomjs
Other
1.42k stars 436 forks source link

downloading error #686

Open liu75675231 opened 7 years ago

liu75675231 commented 7 years ago

liuhaitaodeiMac:vue-demo liuhaitao$ npm install phantomjs-prebuilt

phantomjs-prebuilt@2.1.14 install /Users/liuhaitao/Desktop/demos/vue-demo/node_modules/phantomjs-prebuilt node install.js

PhantomJS not found on PATH Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-macosx.zip Saving to /var/folders/j4/6fhfcvvn6lqd_xzt1lxmg3y00000gn/T/phantomjs/phantomjs-2.1.1-macosx.zip Receiving...

Error making request. Error: connect ETIMEDOUT 54.231.32.91:443 at Object.exports._errnoException (util.js:1034:11) at exports._exceptionWithHostPort (util.js:1057:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1096:14)

Please report this full log at https://github.com/Medium/phantomjs npm ERR! Darwin 15.6.0 npm ERR! argv "/usr/local/Cellar/node/7.8.0/bin/node" "/usr/local/bin/npm" "install" "phantomjs-prebuilt" npm ERR! node v7.8.0 npm ERR! npm v4.2.0 npm ERR! code ELIFECYCLE npm ERR! errno 1

npm ERR! phantomjs-prebuilt@2.1.14 install: node install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs-prebuilt@2.1.14 install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the phantomjs-prebuilt package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs phantomjs-prebuilt npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls phantomjs-prebuilt npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/liuhaitao/.npm/_logs/2017-04-06T09_39_38_911Z-debug.log

ww1129 commented 7 years ago

I have this problem, too. How did you solve it?