Open jayamantri opened 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" }
got the same, this appears to be an issue with github actually PS https://status.github.com/messages
Just remove the proxy config from your npm Use this command: npm config rm proxy
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" }