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

Error Message:

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

 

Solution:
1.vue project: npm install core-js –save
2.npm install
3.npm run dev
or
1.vue project: cnpm install core-js –save
2.cnpm install
3.cnpm run dev
Perfect solution!!!

Read More: