美文网首页node.js
npm 安装出错 npm ERR! request to htt

npm 安装出错 npm ERR! request to htt

作者: HelloJames | 来源:发表于2018-03-23 22:05 被阅读124次

npm 安装 jointjs时 出现

D:\Project\demo>npm install jointjs
npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! errno UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! request to https://registry.npmjs.org/jointjs failed, reason: unable to
 verify the first certificate

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2018-03-23T1
3_48_24_524Z-debug.log

设置下npm config set strict-ssl false 就行了

一个大坑。

相关文章

网友评论

    本文标题:npm 安装出错 npm ERR! request to htt

    本文链接:https://www.haomeiwen.com/subject/birfcftx.html