Medium / phantomjs

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

Cannot install phantomjs #168

Closed fqwr46 closed 10 years ago

fqwr46 commented 10 years ago

I get the following output when i attempt to install phantomjs:

C:\Inetpub\wwwroot\bootstrap\bootstrap-3.1.1>npm install phantomjs npm http GET https://registry.npmjs.org/phantomjs npm http GET https://registry.npmjs.org/phantomjs npm http GET https://registry.npmjs.org/phantomjs npm http GET https://registry.npmjs.org/adm-zip npm http GET https://registry.npmjs.org/kew npm http GET https://registry.npmjs.org/ncp npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/npmconf npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/rimraf npm http GET https://registry.npmjs.org/which npm http GET https://registry.npmjs.org/kew npm http GET https://registry.npmjs.org/ncp npm http GET https://registry.npmjs.org/adm-zip npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/which npm http GET https://registry.npmjs.org/npmconf npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/rimraf npm http GET https://registry.npmjs.org/kew npm http GET https://registry.npmjs.org/adm-zip npm http GET https://registry.npmjs.org/ncp npm http GET https://registry.npmjs.org/npmconf npm http GET https://registry.npmjs.org/rimraf npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/which npm http GET https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/config-chain npm http GET https://registry.npmjs.org/once npm http GET https://registry.npmjs.org/osenv npm http GET https://registry.npmjs.org/nopt npm http GET https://registry.npmjs.org/semver npm http GET https://registry.npmjs.org/ini npm http GET https://registry.npmjs.org/json-stringify-safe npm http GET https://registry.npmjs.org/mime npm http GET https://registry.npmjs.org/qs npm http GET https://registry.npmjs.org/node-uuid npm http GET https://registry.npmjs.org/forever-agent npm http GET https://registry.npmjs.org/form-data npm http GET https://registry.npmjs.org/tunnel-agent npm http GET https://registry.npmjs.org/http-signature npm http GET https://registry.npmjs.org/oauth-sign npm http GET https://registry.npmjs.org/tough-cookie npm http GET https://registry.npmjs.org/aws-sign2 npm http GET https://registry.npmjs.org/hawk npm http GET https://registry.npmjs.org/once npm http GET https://registry.npmjs.org/osenv npm http GET https://registry.npmjs.org/config-chain npm http GET https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/semver npm http GET https://registry.npmjs.org/nopt npm http GET https://registry.npmjs.org/ini npm http GET https://registry.npmjs.org/tunnel-agent npm http GET https://registry.npmjs.org/node-uuid npm http GET https://registry.npmjs.org/form-data npm http GET https://registry.npmjs.org/mime npm http GET https://registry.npmjs.org/http-signature npm http GET https://registry.npmjs.org/forever-agent npm http GET https://registry.npmjs.org/qs npm http GET https://registry.npmjs.org/json-stringify-safe npm http GET https://registry.npmjs.org/hawk npm http GET https://registry.npmjs.org/tough-cookie npm http GET https://registry.npmjs.org/aws-sign2 npm http GET https://registry.npmjs.org/oauth-sign npm http GET https://registry.npmjs.org/once npm http GET https://registry.npmjs.org/semver npm http GET https://registry.npmjs.org/nopt npm http GET https://registry.npmjs.org/ini npm http GET https://registry.npmjs.org/osenv npm http GET https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/config-chain npm http GET https://registry.npmjs.org/http-signature npm http GET https://registry.npmjs.org/aws-sign2 npm http GET https://registry.npmjs.org/oauth-sign npm http GET https://registry.npmjs.org/tunnel-agent npm http GET https://registry.npmjs.org/mime npm http GET https://registry.npmjs.org/forever-agent npm http GET https://registry.npmjs.org/qs npm http GET https://registry.npmjs.org/tough-cookie npm http GET https://registry.npmjs.org/form-data npm http GET https://registry.npmjs.org/hawk npm http GET https://registry.npmjs.org/json-stringify-safe npm http GET https://registry.npmjs.org/node-uuid npm http GET https://registry.npmjs.org/abbrev npm http GET https://registry.npmjs.org/proto-list npm http GET https://registry.npmjs.org/combined-stream npm http GET https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/assert-plus npm http GET https://registry.npmjs.org/asn1 npm http GET https://registry.npmjs.org/ctype npm http GET https://registry.npmjs.org/punycode npm http GET https://registry.npmjs.org/cryptiles npm http GET https://registry.npmjs.org/boom npm http GET https://registry.npmjs.org/hoek npm http GET https://registry.npmjs.org/sntp npm http GET https://registry.npmjs.org/abbrev npm http GET https://registry.npmjs.org/combined-stream npm http GET https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/proto-list npm http GET https://registry.npmjs.org/ctype npm http GET https://registry.npmjs.org/assert-plus npm http GET https://registry.npmjs.org/asn1 npm http GET https://registry.npmjs.org/punycode npm http GET https://registry.npmjs.org/hoek npm http GET https://registry.npmjs.org/boom npm http GET https://registry.npmjs.org/cryptiles npm http GET https://registry.npmjs.org/sntp npm http GET https://registry.npmjs.org/abbrev npm http GET https://registry.npmjs.org/proto-list npm http GET https://registry.npmjs.org/combined-stream npm http GET https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/asn1 npm http GET https://registry.npmjs.org/assert-plus npm http GET https://registry.npmjs.org/ctype npm http GET https://registry.npmjs.org/punycode npm http GET https://registry.npmjs.org/cryptiles npm http GET https://registry.npmjs.org/boom npm http GET https://registry.npmjs.org/hoek npm http GET https://registry.npmjs.org/sntp npm http GET https://registry.npmjs.org/delayed-stream npm http GET https://registry.npmjs.org/delayed-stream npm http GET https://registry.npmjs.org/delayed-stream

phantomjs@1.9.7-7 install C:\Inetpub\wwwroot\bootstrap\bootstrap-3.1.1\no dules\phantomjs node install.js

Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7 ows.zip Saving to C:\Users\vernon\AppData\Local\Temp\phantomjs\phantomjs-1.9.7-wind ip Using proxy http://wwwgate0.mot.com/ Phantom installation failed [TypeError: Cannot set property 'User-Agent' of fined] TypeError: Cannot set property 'User-Agent' of undefined at getRequestOptions (C:\Inetpub\wwwroot\bootstrap\bootstrap-3.1.1\node les\phantomjs\install.js:201:35) at Promise.whichDeferred.promise.then.then.fail.then.then.then.then.loc as _successFn at Promise._withInput (C:\Inetpub\wwwroot\bootstrap\bootstrap-3.1.1\nod ules\phantomjs\node_modules\kew\kew.js:204:25) at Promise.resolve (C:\Inetpub\wwwroot\bootstrap\bootstrap-3.1.1\node_m s\phantomjs\node_modules\kew\kew.js:92:25) at resolver (C:\Inetpub\wwwroot\bootstrap\bootstrap-3.1.1\node_modules\ omjs\node_modules\kew\kew.js:264:17) at C:\Inetpub\wwwroot\bootstrap\bootstrap-3.1.1\node_modules\phantomjs\ modules\npmconf\npmconf.js:76:7 at Array.forEach (native) at C:\Inetpub\wwwroot\bootstrap\bootstrap-3.1.1\node_modules\phantomjs\ modules\npmconf\npmconf.js:75:13 at C:\Inetpub\wwwroot\bootstrap\bootstrap-3.1.1\node_modules\phantomjs\ modules\npmconf\nodemodules\once\once.js:17:15 at Conf. (C:\Inetpub\wwwroot\bootstrap\bootstrap-3.1.1\node es\phantomjs\node_modules\npmconf\npmconf.js:117:9) npm ERR! phantomjs@1.9.7-7 install: node install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.7-7 install script. 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 their info via: npm ERR! npm owner ls phantomjs npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" "phantomjs" npm ERR! cwd C:\Inetpub\wwwroot\bootstrap\bootstrap-3.1.1 npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Inetpub\wwwroot\bootstrap\bootstrap-3.1.1\npm-debug.log npm ERR! not ok code 0

dpup commented 10 years ago

Dupe of #161, please upgrade.