您好,我使用npm时有关于SSL的问题。 我运行这个命令:npm install ionic
我得到这个错误:
npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "ionic" npm ERR! node v4.1.2 npm ERR! npm v2.14.4 npm ERR! Hostname/IP doesn't match certificate's altnames: "Host: registry.npmjs.org. is not in the cert's altnames: DNS:a.sni.fastly.net, DNS:a.sni.global-ssl.fastly.net" 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! C:\xampp\htdocs\receipt_finder\npm-debug.log
我已经使用此命令添加了我的公司证书
npm config -g set cafile C:\opt\Cyberoam_Single_CA.pem
如何处理?
谢谢。