解决npm ERR! Cannot read properties of null (reading ‘pickAlgorithm‘)报错问题
npm ERR! Cannot read properties of null (reading 'pickAlgorithm')
解决方法:
在终端中运行命令:
npm cache clear --force
然后重新运行 npm i 命令,再次安装
安装完成,没有出现报错
npm run serve(dev) 运行项目,项目可以正常启动了。
我也不知道为啥会报这样的错误,反正我运用了此方法,就好了。