Answer the question
In order to leave comments, you need to log in
What could be the problem when running webpack-dev-server?
Hello!
When working with webpack, a not entirely clear problem appeared, namely:
when running npm run start:dev, an error occurs like -
https://pastebin.com/KsXkKWYA
package.json settings
https://pastebin.com/xB549VW4
webpack.config settings .js
https://pastebin.com/Xwd9Nduk
At the same time, if you use a regular assembly, then everything is OK, the problem is only when using dev-server
Answer the question
In order to leave comments, you need to log in
1.At you from the console passes?
npx run cross-env NODE_ENV=production webpack-dev-server --open
"build": "cross-env NODE_ ENV=production webpack --mode production"
"start:dev": "webpack-dev-server --open --mode=development",
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question