Cannot read properties of null (reading ‘pickAlgorithm‘)
解决程序运行不成功的原因
·
解决Cannot read properties of null (reading ‘pickAlgorithm‘)
标题问题背景
具体是这一句:Cannot read properties of null (reading ‘pickAlgorithm’)
nodejs 执行 npm install 时报错 “Cannot read properties of null (reading ‘pickAlgorithm‘)”
标题解决方法
第一种
执行npm cache clear --force清除缓存再重新执行
npm cache clear --force
npm install
可以成功安装好了node_moduels
运行 npm run serve 可以进行工作了
第二种
执行npm install -g cnpm -registry=https://registry.npm.taobao.org全局安装淘宝镜像
执行cnpm install安装
更多推荐
已为社区贡献9条内容
所有评论(0)