Error: cannot find module ‘@ Babel/core’ error occurs when configuring webpack.config.js automatic packaging
Solution:
Update to the highest version:
npm install -D babel-loader @babel/core @babel/preset-env webpack
Similar Posts:
- webpack4 Cannot find module ‘@babel/core’ [Solved]
- vue ‘Couldn’t find preset “es2015” relative to directory’
- [Solved] Vue installation Babel dependency error
- [Solved] MODULE BUILD FAILED: ERROR: COULDN’T FIND PRESET “ES2015” RELATIVE TO DIRECTORY
- Nuxt module build failed error report
- [Solved] Webpack4 Package Error: regeneratorRuntime is not defined
- [Solved] NPM Run Project Error: Cannot find module ‘@babel/compat-data/corejs3-shipped-proposals’
- [Solved] Vue/cli install element error: Error: cannot find module ‘Babel plugin component’
- Error in xxx.js from uglifyjs after elementui upgrade [How to Solve]
- [Solved] app crashed – waiting for file changes before starting…