Medium / phantomjs

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

Failed to install 2.1.14 with Node 0.12.17 #660

Closed falsandtru closed 7 years ago

falsandtru commented 7 years ago

https://travis-ci.org/twada/power-assert-keeper/builds https://travis-ci.org/twada/power-assert-keeper/jobs/183192437#L342-L386

> phantomjs-prebuilt@2.1.14 install /home/travis/build/twada/power-assert-keeper/power-assert/node_modules/phantomjs-prebuilt
> node install.js
Considering PhantomJS found at /usr/local/phantomjs/phantomjs
Found PhantomJS at /usr/local/phantomjs/phantomjs ...verifying
PhantomJS detected, but wrong version 2.0.0 @ /usr/local/phantomjs/phantomjs.
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving...
Received 22866K total.
Extracting tar contents (via spawned process)
Removing /home/travis/build/twada/power-assert-keeper/power-assert/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1481534098020/phantomjs-2.1.1-linux-x86_64 -> /home/travis/build/twada/power-assert-keeper/power-assert/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /home/travis/build/twada/power-assert-keeper/power-assert/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
npm ERR! Linux 4.4.0-51-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v0.12.17/bin/node" "/home/travis/.nvm/versions/node/v0.12.17/bin/npm" "i"
npm ERR! node v0.12.17
npm ERR! npm  v2.15.1
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read
npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
npm ERR! Linux 4.4.0-51-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v0.12.17/bin/node" "/home/travis/.nvm/versions/node/v0.12.17/bin/npm" "i"
npm ERR! node v0.12.17
npm ERR! npm  v2.15.1
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read
npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
alundiak commented 7 years ago

UP:

https://github.com/Medium/phantomjs/issues/632#issuecomment-271851965

falsandtru commented 7 years ago

I guess this is a language problem, or legacy support problem. I abandon Node 0.12.