Webpack compile error
Webpack version number
"webpack": "^4.46.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.0",
Error message
The reason is that the node version is too low.
Solution: Switch to version 12.11.0 will be OK!
webpack-dev-server v4.0.0+ need node >= v12 and webpack >= v4.37.0
Read More:
- [Solved] React Startup Error at the First time :SyntaxError: Unexpected token
- [Solved] Uncaught SyntaxError: Unexpected token ‘<‘
- [Solved] Error in created hook: “SyntaxError: Unexpected token o in JSON at position 1“
- Error in created hook: “SyntaxError: Unexpected token u in JSON at position 0
- ArcGIS API for JavaScript version 4. X updated and the project startup error: Module parse failed: Unexpected token(… …
- How to Solve JS error: Unexpected end of JSON input,Unexpected token u in JSON at position 0
- node.js yarn Error: SyntaxError: Unexpected string [How to Solve]
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution
- ‘webpack dev server’ is not an internal or external command, nor is it a runnable program or batch file. Solution: error in cnpm run dev:
- [Solved] Vue unit test syntax error: unexpected token ‘export‘
- [Solved] ajax Error: Uncaught SyntaxError: Unexpected end of JSON input
- Vue Import three.JS error: Unexpected token [How to Solve]
- Vue-cli Failed to download repo vuejs-templates/webpack [How to Solve]
- Vue init webpack Error: unable to verify the first certificate
- [Solved] webpack Package Error: ERROR in multi ./src/main.js ./dist/bundle.js Module not found: Error: Can‘t resolv
- [Solved] Vue Project Error: Error: Cannot find module ‘webpack‘ Require stack以及Error: Rule can only have one resource so
- [Solved] ESLint: Parsing error: Unexpected token(prettier/prettier)
- [Solved] vue Project Error: react lazy eslint error Parsing error: Unexpected token import
- [Solved] Vue Start Project Error: ValidationError: webpack Dev Server Invalid Options
- How to Solve Webpack packag iconfont font error