When we use sass in a project, we need to parse sass into CSS through sass loader. If node sass is not installed, sass loader will not work.
Sometimes, if the node sass version is too high, an error will be reported. The log is as follows:
Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0.
terms of settlement:
1. Uninstall the installed version of NPM install node sass
2. Install NPM install [email protected]
3. Restart the project
div>