Reason: SCSS loader version is too high
Solution:
npm uninstall --save sass-loader
npm i -D [email protected]
npm uninstall --save node-sass
npm i [email protected]
Similar Posts:
- Module build failed: TypeError: this.getResolve is not a function at Object.loader node-sass Install Error
- Use sass and less in Vue and solve the problem of error reporting (this. Getoptions is not a function)
- Mac uniapp Compile Error: sass-loader [How to Solve]
- [Solved] Error:Node Sass version 6.0.0 is incompatible with ^4.0.0
- [Solved] NPM Error: gyp verb which failed Error:not found: python2
- NPM I initialization and core JS error [How to Solve]
- Module build failed: Error: Cannot find module ‘node-sass’
- Node sass installation error [How to Solve]
- [Solved] Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0.
- [Solved] Vue installs less Error: Failed to compile with 1 errors