报错内容:
在vue项目中运行npm install进行项目初始化时,遇到报错信息 your dependencies to the actual version of core-js.npm ERR! Cannot read properties of null (reading 'pickAlgorithm')
your dependencies to the actual version of core-js.npm ERR! Cannot read properties of null (reading 'pickAlgorithm')
下面分享一下我的解决方法:
解决方法:
在终端输入:
1、npm install -g vuepress
2、请将依赖项升级到core js的实际版本。
npm install --save -g core-js@^3
3、安装依赖
npm install
4、运行
npm run serve
在Vue项目中执行npminstall时遇到core-js相关报错,解决方案包括全局安装vuepress,更新core-js到实际版本,重新安装依赖并运行npmrunserve。
2万+

被折叠的 条评论
为什么被折叠?



