Comments (2)
client:162 ./app/index.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module 'babel-preset-react' from 'D:\Webpack_boilerplate' at Function.module.exports [as sync] (D:\Webpack_boilerplate\node_modules\resolve\lib\sync.js:43:15) at resolveStandardizedName (D:\Webpack_boilerplate\node_modules\@babel\core\lib\config\files\plugins.js:101:31) at resolvePreset (D:\Webpack_boilerplate\node_modules\@babel\core\lib\config\files\plugins.js:58:10) at loadPreset (D:\Webpack_boilerplate\node_modules\@babel\core\lib\config\files\plugins.js:77:20) at createDescriptor (D:\Webpack_boilerplate\node_modules\@babel\core\lib\config\config-descriptors.js:154:9) at items.map (D:\Webpack_boilerplate\node_modules\@babel\core\lib\config\config-descriptors.js:109:50) at Array.map (<anonymous>) at createDescriptors (D:\Webpack_boilerplate\node_modules\@babel\core\lib\config\config-descriptors.js:109:29) at createPresetDescriptors (D:\Webpack_boilerplate\node_modules\@babel\core\lib\config\config-descriptors.js:101:10) at presets (D:\Webpack_boilerplate\node_modules\@babel\core\lib\config\config-descriptors.js:47:19)
from webpack-boilerplate.
I found the problem
just replace "env" with "@babel/preset-env"
`{
"presets": [
["@babel/preset-env", { "modules": false }]
],
"plugins": [
"syntax-dynamic-import"
]
}
`
from webpack-boilerplate.
Related Issues (18)
- Webpack 4 update HOT 1
- NFR HOT 2
- What path do I use for background-image url? HOT 2
- .includes not polyfilled? HOT 1
- babel config HOT 1
- Found 1 high severity vulnerability (High │ Arbitrary File Overwrite ) HOT 1
- Css bundle outside of js HOT 3
- Images not copied to dist folder after built HOT 3
- add optimizations? HOT 1
- Edit index.js hot reload stop working HOT 1
- npm run build fails with ES6 Array function HOT 2
- Use EJS includes HOT 1
- Does not create es2015
- Use webpack-merge rather Object.assign HOT 2
- Giant images on the screen every time website is loaded HOT 3
- `build` not copying certain image folders into `./dist` HOT 4
- curl script in readme and webpack-boilerplate-master HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webpack-boilerplate.