windows - node package manager install error with Express -


i'm attempting install express using node package manager , getting below error. on windows 7 x64 running cmd administrator. assistance?

microsoft windows [version 6.1.7601] copyright (c) 2009 microsoft corporation.  rights reserved.  c:\>npm install express -g npm http https://registry.npmjs.org/express npm http https://registry.npmjs.org/express npm http https://registry.npmjs.org/express npm err! error: self_signed_cert_in_chain npm err!     @ securepair.<anonymous> (tls.js:1283:32) npm err!     @ securepair.eventemitter.emit (events.js:92:17) npm err!     @ securepair.maybeinitfinished (tls.js:896:10) npm err!     @ cleartextstream.read [as _read] (tls.js:430:15) npm err!     @ cleartextstream.readable.read (_stream_readable.js:304:10) npm err!     @ encryptedstream.write [as _write] (tls.js:344:25) npm err!     @ dowrite (_stream_writable.js:211:10) npm err!     @ writeorbuffer (_stream_writable.js:201:5) npm err!     @ encryptedstream.writable.write (_stream_writable.js:172:11) npm err!     @ write (_stream_readable.js:557:24) npm err! if need help, may report log at: npm err!     <http://github.com/isaacs/npm/issues> npm err! or email to: npm err!     <npm-@googlegroups.com>  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" "express" "-g" npm err! cwd c:\ npm err! node -v v0.10.5 npm err! npm -v 1.2.18 npm err! npm err! additional logging details can found in: npm err!     c:\npm-debug.log npm err! not ok code 0 

i can connect http://registry.npmjs.org/express in chrome returning json

you'll notice if connect https://registry.npmjs.org/, chrome will give ssl error since registry.npmjs.org serving self-signed ssl certificate. registry.npmjs.org uses proper ca-signed certificate.

there 2 possibilities:

  • your npm config messed up. delete npm-related , reinstall.
  • if you're in environment intercepting https proxy, breaking npm. talk network administrator.

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -