I am working on a React webapp using webpack, loosely alongside this tutorial.
Accidentally, I added the node_modules folder to my git. I then removed it again using
I install with npm install --save-dev webpack-dev-server then I set package.json and webpack.config.js like this:
setting.
Then I run webpack-dev-server and get this error error.
If I don't use npm install -g webpack-dev-server to install, then how to fix it?
I fixed the error configuration has an unknown property 'colors' by removing colors:true. It worked!