我正在得到一个unable to get local issuer certificate
执行 npm install 时出错:
typings ERR! message Unable to read typings for "es6-shim". You should check the
entry paths in "es6-shim.d.ts" are up to date
typings ERR! caused by Unable to connect to "https://raw.githubusercontent.com/D
efinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/es6-shim
/es6-shim.d.ts"
typings ERR! caused by unable to get local issuer certificate
我最近从更早的版本更新到了节点 4,听起来节点在出现此类问题时要严格得多。
有一个问题正在讨论here其中谈到使用 ca 文件,但这有点超出我的理解,我不确定该怎么办。
我位于公司防火墙后面,但我可以在浏览器中正常访问该网址,不受任何限制。
有谁对这个问题有进一步的了解以及有哪些可能的解决方案?
我想知道是否要同时恢复到节点 0.12 :(
Try
npm config set strict-ssl false
这是此网址中共享的替代方案https://github.com/nodejs/node/issues/3742
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)