Medium / phantomjs

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

PhantomJS 2.1.1 download fails #806

Open jayamantri opened 5 years ago

jayamantri commented 5 years ago

Phantom JS download failed during NPM install with following error

PhantomJS not found on PATH 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...

Error requesting archive. Status: 500 Request options: { "uri": "https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2", "encoding": null, "followRedirect": true, "headers": { "User-Agent": "npm/5.6.0 node/v8.11.2 linux x64" }, "strictSSL": true } Response headers: { "server": "GitHub.com", "date": "Mon, 16 Jul 2018 17:48:37 GMT", "content-type": "application/octet-stream", "transfer-encoding": "chunked", "connection": "close", "x-github-request-id": "27D7:61F0:18AF:33EA:5B4CDA75", "x-frame-options": "DENY" }

tuxtitlan commented 5 years ago

got the same, this appears to be an issue with github actually image PS https://status.github.com/messages

mmartche commented 5 years ago

Just remove the proxy config from your npm Use this command: npm config rm proxy