报错内容:
在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