Getting the error "Assertion failed (wrap->ssl_) != (nullptr), file src\tls_wrap.cc, line 320" while module installation by npm
I get the error "Assertion failed (wrap->ssl_) != (nullptr), file src\tls_wrap.cc, line 320" trying to install any module by npm via proxy, for example, request or cheerio:
npm config set proxy http://username:[email protected]:8080 npm config set https-proxy https://username:[email protected]:8080
npm install cheerio
//
Thus, request module is not installed at all, and cheerio module is installed without dependencies.
//
npm --version 2.14.3
node --version v4.1.0
OS: windows xp sp3
I get the same error on win xp, when I've run npm install
npm --proxy http://191.168.1.1:3128 --without-ssl --insecure install string. I think it because I using proxy in my local arean network.
node --version v4.1.2
Please give it a try to node.js 4.2.0 . The problem should be fixed there.
Thank you very much! 4.2.0 really works great!
Thank you, this version 4.2.0 works fine.
Whoa, looks like it was a good call to include that fix into release. Thank you!
I'm seeing this issue in node 4.4 running on win 7 and ubuntu 14.04.4 LTS. The error is printed when an ssl socket is closed. I'm only using the built in modules http, https, crypto. My code runs fine without the https module. Sorry if I've posted in the wrong place but this is the only reference I can find to this error. The error message is "Assertion failed: (wrap->ssl_) != (nullptr), file src\tls_wrap.cc, line 319".
@mypuem If you still get that with the latest v4.x release (v4.4.2 at the time of writing), can you file a new issue and include steps to reproduce? The test case should preferably not depend on any third-party modules.