nodejs SSL Error: CERT_UNTRUSTED while using npm command 错误

SSH 使用错误,其实我们关掉HTTPS就好了

npm config set strict-ssl false

或者

npm config set registry=”http://registry.npmjs.org/”
原文地址:https://www.cnblogs.com/linksgo2011/p/5179778.html