Medium / phantomjs

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

npm install fails on redhat 6.7 #606

Open fredericrous opened 8 years ago

fredericrous commented 8 years ago

when I run npm install on linux redhat 6.7, I get this error:

    16:54:07 INFO: > phantomjs-prebuilt@2.1.12 install <obfuscated path>/node_modules/karma-phantomjs-launcher/node_modules/phantomjs-prebuilt
16:54:07 INFO: > node install.js
16:54:07 INFO:
    16:54:07 INFO: module.js:327
16:54:07 INFO:     throw err;
16:54:07 INFO:     ^
16:54:07 INFO:
    16:54:07 ERROR: Cannot find module 'is-property'
16:54:07 INFO:     at Function.Module._resolveFilename (module.js:325:15)
16:54:07 INFO:     at Function.Module._load (module.js:276:25)
16:54:07 INFO:     at Module.require (module.js:353:17)
16:54:07 INFO:     at require (internal/module.js:12:17)
16:54:07 INFO:     at Object.<anonymous> (<obfuscated path>/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/index.js:1:80)
16:54:07 INFO:     at Module._compile (module.js:409:26)
16:54:07 INFO:     at Object.Module._extensions..js (module.js:416:10)
16:54:07 INFO:     at Module.load (module.js:343:32)
16:54:07 INFO:     at Function.Module._load (module.js:300:12)
16:54:07 INFO:     at Module.require (module.js:353:17)
16:54:07 INFO:     at require (internal/module.js:12:17)
16:54:07 INFO: npm ERR! Linux 3.0.101-0.47.55-default
16:54:07 INFO: npm ERR! argv "node" "<obfuscated path>npm-cli.js" "install"
16:54:07 INFO: npm ERR! node v4.4.7
16:54:07 INFO: npm ERR! npm  v2.15.8
16:54:07 INFO: npm ERR! code ELIFECYCLE
16:54:07 INFO:
    16:54:07 INFO: npm ERR! phantomjs-prebuilt@2.1.12 install: `node install.js`
16:54:07 INFO: npm ERR! Exit status 1
16:54:07 INFO: npm ERR!
    16:54:07 INFO: npm ERR! Failed at the phantomjs-prebuilt@2.1.12 install script 'node install.js'.
16:54:07 INFO: npm ERR! This is most likely a problem with the phantomjs-prebuilt package,
    16:54:07 INFO: npm ERR! not with npm itself.
16:54:07 INFO: npm ERR! Tell the author that this fails on your system:
    16:54:07 INFO: npm ERR!     node install.js
16:54:07 INFO: npm ERR! You can get information on how to open an issue for this project with:
16:54:07 INFO: npm ERR!     npm bugs phantomjs-prebuilt
16:54:07 INFO: npm ERR! Or if that isn't available, you can get their info via:
16:54:07 INFO: npm ERR!
    16:54:07 INFO: npm ERR!     npm owner ls phantomjs-prebuilt
16:54:07 INFO: npm ERR! There is likely additional logging output above.

problem seems to come from request module!? I'm on nodejs v4.4.7 with npm v3.10.6

Problems appeared with phantomjs-prebuilt@2.1.12. phantomjs-prebuilt@2.1.11 was working fine

I cannot reproduce this on ubuntu 15.04