windows npm出现 “Cannot read property ‘pickAlgorithm’ of null”
windows下使用npm经常会遇到一些坑。
例如文章主题上提到的这个错误
npm ERR! Cannot read property 'pickAlgorithm' of null
npm ERR! A complete log of this run can be found in:
npm ERR! npm-cache\_logs\2021-10-14T08_03_47_266Z-debug.log
解决方法:
npm cache clear --force
npm install
基本解决问题。无需纠结为何发生这个问题。
主机差评君首发于zhuji188.com,转发请标明来源https://zhuji188.com/367.html
THE END
二维码
共有 0 条评论