This dependency was not found:
* core-js/modules/es.error.cause.js in ./node_modules/@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
在学习vue2的时候遇到上面的问题,最后还好顺利解决了。
第一步先npm uninstall --save core-js,
然后 npm install --save core-js。
就可以了,记录一下这个坑