在启动项目时,出现 npm install --save core-js/modules/es.error.cause.js 的错误
解决方法:
1. 先删除 node_modules 依赖
npm rm -rf node_modules
2. 安装报错的插件
npm install --save core-js
//或
yarn add core-js
3. 最后再 npm install 或者 yarn install
npm install
yarn install
在启动项目时,出现 npm install --save core-js/modules/es.error.cause.js 的错误
解决方法:
npm rm -rf node_modules
npm install --save core-js
//或
yarn add core-js
npm install
yarn install