reason: certificate has expired(原因:证书过期)
使用npm install 安装的时候 一直提示 https证书问题
一直改镜像都不可以解决,果然把https禁止就行
npm cache clean --force
npm config set strict-ssl false
npm install

解决
在尝试使用npminstall时遇到证书过期问题,尝试更换镜像未果。解决方案是禁用npm的严格SSL验证并通过`npmcacheclean--forcenpmconfigsetstrict-sslfalsenpminstall`来安装。
使用npm install 安装的时候 一直提示 https证书问题
一直改镜像都不可以解决,果然把https禁止就行
npm cache clean --force
npm config set strict-ssl false
npm install

解决
3万+

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