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

Error Message:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
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/_@babel_runtime@7.18.9@@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
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/_@babel_runtime@7.18.9@@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
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/_@babel_runtime@7.18.9@@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: