1

I'm trying to install phonegap using

npm install -g phonegap

I'm on proxy so I set

npm config set proxy http://username:password@proxy.company.com:8080
npm config set https-proxy https://username:password@proxy.company.com:8080

The error I get when I try to install via npm install -g phonegap

Assertion failed (wrap->ssl_) != (nullprt), file src\tls_wrap.cc, line 320
Lorenzo
  • 673
  • 1
  • 11
  • 25
  • anyone??? it is strange that downloading another package from npm it does good... – Lorenzo Sep 17 '15 at 06:56
  • changing the version of node to 0.8.28 it seems to connect but now the error is that seems to be missing package.json from folder \npm\node_modules\phonegap – Lorenzo Sep 17 '15 at 09:00
  • 1
    Someone has opened an issue on the Node.js issue tracker regarding this assertion: [nodejs/node#2979](https://github.com/nodejs/node/issues/2979). – Kenan Sep 21 '15 at 15:29
  • thank you! i will keep updated this post!!! :) – Lorenzo Sep 21 '15 at 15:32
  • I'm seeing this in node 4.4. What did you find out? – user3356715 Apr 11 '16 at 09:10
  • I solved reading this question, hope this help: http://stackoverflow.com/questions/7559648/is-there-a-way-to-make-npm-install-the-command-to-work-behind-proxy – Lorenzo Apr 11 '16 at 09:56

0 Answers0