Medium / phantomjs

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

phantomjs-2.1.1 install error while running npm install script for chimpjs #618

Closed Desperado closed 7 years ago

Desperado commented 7 years ago
> fibers@1.0.14 install /root/cc_e2e/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/fibers
> node build.js || nodejs build.js

`linux-x64-v8-4.5` exists; testing
Binary is fine; exiting

> phantomjs2@2.2.0 install /root/cc_e2e/node_modules/chimp/node_modules/phantomjs2
> node install.js

PhantomJS not found on PATH
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
Saving to /root/cc_e2e/node_modules/chimp/node_modules/phantomjs2/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving...
-
Error requesting archive.
Status: 403
Request options: {
  "uri": "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2",
  "encoding": null,
  "followRedirect": true,
  "headers": {},
  "strictSSL": true
}
Response headers: {
  "x-amz-request-id": "A43840E2A1E39F69",
  "x-amz-id-2": "+oIX4Zc2ZhyRIWsahNDNYvKojIGJ7TgvG2PWIQ+xujJaSs2lCacou8fSY420Qhx+l7Sz2xduBu0=",
  "content-type": "application/xml",
  "transfer-encoding": "chunked",
  "date": "Fri, 09 Sep 2016 13:41:31 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
Desperado commented 7 years ago

@nicks Hi, can the repository from which phantomJS is downloaded be switched?

nicks commented 7 years ago

your error message says you're using phantomjs2, which is unrelated to this repo https://www.npmjs.com/package/phantomjs2

if you decide to use phantomjs-prebuilt (this repo), then there's a readme for this: https://github.com/Medium/phantomjs#deciding-where-to-get-phantomjs

Desperado commented 7 years ago

Yes, that makes sense, thanks @nicks