npm安装报错certificate is not yet valid

npm update -g

 npm i npm g   //npm更新到最新版本

 

 

原文地址:https://www.cnblogs.com/aivnfjgj/p/6411510.html