通过npm安装webpack的时候,出现错误信息
request to https://registry.npmjs.org/webpack failed, reason: unable to verify the first certificate
在命令窗口中输入,即可
npm config set strict-ssl false
博客提到使用npm安装webpack时,出现无法验证第一个证书的错误,显示request to https://registry.npmjs.org/webpack failed, reason: unable to verify the first certificate,还称在命令窗口输入相关内容可解决。
通过npm安装webpack的时候,出现错误信息
request to https://registry.npmjs.org/webpack failed, reason: unable to verify the first certificate
在命令窗口中输入,即可
npm config set strict-ssl false
1万+
1444
2592
2万+

被折叠的 条评论
为什么被折叠?