运行报错解决:To install it, you can run: npm install --save core-js/modules/es.error.cause.js

最近拉取代码的时候总是遇到项目报错

To install them, you can run: npm install --save core-js/modules/es.error.cause.js core-js/modules/e

然后就尝试安装一下core-js再次运行发现不行,
然后全网搜索踩坑。。。

问题解决:

首先:
删除node_modules
其次:

先独立安装 cnpm install --save core-js

最后:

cnpm i

最后最后:

npm run dev

大功告成!!!

猜你喜欢

转载自blog.csdn.net/qq_45659769/article/details/125970317