You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2019. It is now read-only.
Sometimes when installing phantomjs the install fails. The logs show the following:
PhantomJS not found on PATH
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2
Receiving...
\
Error requesting archive.
Status: 403
Request options: {
"uri": "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2",
"encoding": null,
"followRedirect": true,
"headers": {},
"strictSSL": true
}
Response headers: {
"x-amz-request-id": "DB0E7CC2E611A040",
"x-amz-id-2": "53IAT+5IHarnawYBVvDpy8pBwBl2AzQwDu/1bmcbWAuTp0Fa6JRQJ1pvLBhgi8Ki",
"content-type": "application/xml",
"transfer-encoding": "chunked",
"date": "Mon, 06 Jun 2016 11:12:58 GMT",
"server": "AmazonS3",
"connection": "close"
}
Make sure your network and proxy settings are correct.
If you continue to have issues, please report this full log at https://github.com/Medium/phantomjs
> optipng-bin@3.1.1 postinstall /home/vagrant/project/node_modules/optipng-bin
> node lib/install.js
✔ optipng pre-build test passed successfully
npm ERR! Linux 3.13.0-83-generic
npm ERR! argv "/home/vagrant/.nvm/versions/node/v4.4.0/bin/node" "/home/vagrant/.nvm/versions/node/v4.4.0/bin/npm" "install"
npm ERR! node v4.4.0
npm ERR! npm v2.14.20
npm ERR! code ELIFECYCLE
npm ERR! phantomjs@1.9.19 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs@1.9.19 install script 'node install.js'.
npm ERR! This is most likely a problem with the phantomjs 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
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/vagrant/project/npm-debug.log
It appears to be a network issue (http status 403 meaning forbidden). This is strange because when I try to install it again it does work. The error appears to happen at random and I have not been able to determine if it is something on my side.
However this does make it rather tricky to use since I don't want my production builds to fail at random because of such an issue.
Sometimes when installing phantomjs the install fails. The logs show the following:
It appears to be a network issue (http status 403 meaning forbidden). This is strange because when I try to install it again it does work. The error appears to happen at random and I have not been able to determine if it is something on my side.
However this does make it rather tricky to use since I don't want my production builds to fail at random because of such an issue.
Anyone got any ideas what might be causing this?
Extra info: