Node.js在安装模块时获取SELF_SIGNED_CERT_IN_CHAIN

时间:2016-05-06 16:49:39

标签: node.js npm

当我尝试安装path模块时,我得到了这个

Z:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE
\LAYOUTS\net\tools>npm install path
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install" "path"
npm ERR! node v6.1.0
npm ERR! npm  v3.8.6
npm ERR! code SELF_SIGNED_CERT_IN_CHAIN

npm ERR! self signed certificate in certificate chain
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     Z:\Program Files\Common Files\microsoft shared\Web Server Extension
s\15\TEMPLATE\LAYOUTS\net\tools\npm-debug.log

有谁知道什么是错的?

由于

0 个答案:

没有答案