The front-end vue reports an error when executing npm run dev:
ERROR in ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./src/components/loading
Background: After executing npm install according to the front-end dependency environment, the installation dependencies are all normal, and no errors are reported.
Phenomenon: When running the front-end code, the error is reported as follows:
According to the reference: The reason for the error is actually that when the dependency is introduced, the configuration of the corresponding computer is different, and the error is reported. You only need to reinstall the dependency.
Solution: execute the command
npm install --save node-sass