标题: 若依ruoyi-ui执行npm run dev启动报错:esnext.set.difference.v2.js in ./ [打印本页] 作者: 三尺非寒 时间: 2024-6-9 15:05 标题: 若依ruoyi-ui执行npm run dev启动报错:esnext.set.difference.v2.js in ./ 一、错误征象:
ERROR Failed to compile with 7 errors 09:05:43
These dependencies were not found:
* core-js/modules/esnext.set.difference.v2.js in ./src/utils/index.js
* core-js/modules/esnext.set.intersection.v2.js in ./src/utils/index.js
* core-js/modules/esnext.set.is-disjoint-from.v2.js in ./src/utils/index.js
* core-js/modules/esnext.set.is-subset-of.v2.js in ./src/utils/index.js
* core-js/modules/esnext.set.is-superset-of.v2.js in ./src/utils/index.js
* core-js/modules/esnext.set.symmetric-difference.v2.js in ./src/utils/index.js
* core-js/modules/esnext.set.union.v2.js in ./src/utils/index.js
二、题目描述:
提示:这里描述项目中碰到的题目:
vue项目启动报错:To install them, you can run: npm install --save core-js/modules/es.array.push.js core-js/modules/es.error.cause.js core-js/modules/es.object.proto.
三、原因分析:缺少core-js模块