且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法使用“npm install"在 Node.js 中安装任何软件包;

更新时间:2022-01-19 22:24:57

我发现有一个证书过期问题:

I found the there is a certificate expired issue with:

npm set registry https://registry.npmjs.org/

所以我把它设为 http,而不是 https :-

So I made it http, not https :-

npm set registry http://registry.npmjs.org/

到目前为止没有任何问题.

And have no problems so far.