npm镜像仓库-淘宝仓库源证书过期问题

132 阅读1分钟

临时禁用SSL验证

npm config set strict-ssl false

执行完npm i之后,请务必重新启用SSL验证:

npm config set strict-ssl true