解决报错:m ERR! code ERR

解决报错:m ERR! code ERR

解决方案:

①进行代理设置为false,如下命令

npm config set proxy false

②npm缓存清理,如下命令

npm cache verify

③再次执行npm install命令发现又报如下错误:

 Cannot read property ‘pickAlgorithm‘ of null

解决报错:m ERR! code ERR

 然后;删除node_moudules,再清理一下缓存

npm cache clear –force

最后:

npm install,解决。

 

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/aacf6cd0ad.html