The solution is:
1. Install sass loader and node sass
npm install sass-loader node-sass --save-dev
2.Change package.json
inside node-sass and sass-loader versions to: "node-sass": "^4.11.1", "sass-loader": "^7.3.0"
3. Remove node_modules,
and re-executenpm install
Read More:
- Vue Cli error: vuecliYou may need an additional loader to handle
- How to Fix Node SASS Error in Vue + webpack project after nodejs upgrade
- Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0
- Module not found: Error: Can‘t resolve ‘sass-loader‘ in…
- Mac error: SH: Vue cli service: command not found
- [Solved] Gulp-sass Install Error: error: cannot find module ‘sass‘
- Module not found: Error: Can‘t resolve ‘sass-loader‘
- When starting Vue project: cannot find module ‘webpack cli / bin / config yargs’ error resolution
- [Solved] npm install sass@~1.32 sass-loader deepmerge -D Install Error
- Cli Write Error: This is related to npm not being able to find a file. [Solved]
- Eslint error “no undef” and eslint rule configuration in Vue cli3
- [Solved] gulp-sass Package scss Files Error: Error in plugin “gulp-sass“Message:
- NPM run dev Error Module build failed: Error: Cannot find module ‘node-sass’
- [Solved] Vue Install less Error: this.getOptions is not a function
- Vue require Error: node_modules/babel-loader/lib
- Report Duplicate keys detected: ‘0’. This may cause an update error in VUE and the solution
- Vue Report Error #NULL! :no such file or directory,chmod….. [email protected] **\css- Beautify.js
- [Maven Error] Exception in thread “main” java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
- Error: cannot find module ‘webpack cli/bin/config yargs’‘