This dependency was not found: * core-js/modules/es.error.cause.js in ./node_modules/_@babel_runtim

This dependency was not found:

  • core-js/modules/es.error.cause.js in ./node_modules/_@[email protected]@@babel/runtime/helpers/createForOfIteratorHelper.js, ./src/directive/permission/hasPermi.js and 5 others

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

解决
1.vue项目下执行:npm install core-js --save
2.npm install
3.npm run dev

或者

1.vue项目下执行:cnpm install core-js --save
2.cnpm install
3.cnpm run dev

完美解决!!!

你可能感兴趣的:(前端,vue.js,vue)