
将源换成https://registry.npm.taobao.cn
后显示此错误。
解决方法是:
-
清除缓存
npm cache clean --force
-
取消ssl令牌
npm config set strict-ssl false
再次重试即可。