reason:
The node-sass version cannot run in the current environment.
Solution:
1.uninstall the current version of node-sass
npm uninstall --save node-sass
2.reinstall node-sass
npm install --save node-sass
Read More:
- [Solved] Syntax Error: Error: Node Sass does not yet support your current environment:
- Vue Use scss Error: this.getOptions is not a function [How to Solve]
- [Solved] Node sass version 7.0.0 is incompatible with ^ 4.0.0 | ^ 5.0.0 | ^ 6.0.0
- [Solved] Vue Project Error: Syntax Error: TypeError: this.getOptions is not a function
- NPM run dev runs the Vue project and reports an error: Node Sass does not yet support your current environment
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- [Solved] This.getoptions is not a function when installing sass loader and less loader
- [Solved] Syntax Error: Error: Node Sass does not yet support your current environment: Windows 64-bit with
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- Vue installs sass loader directly, and node sass reports an error
- [Solved] Vue Project Error: Module build failed: Error: Missing binding
- [Solved] Vue Error: Module build failed Error Node Sass version 6.0.1 is incompatible with ^4.0.0.
- [Solved] Error: EBUSY: resource busy or locked, lstat ‘D:\DumpStack.log.
- [Solved] Vue Error: Error: Rule can only have one resource source (provided resource and test + include + ex
- Error: Rule can only have one resource source (provided resource and test + include + exclude)
- [Solved] Input error: this. Getoptions is not a function
- [Solved] VUE npm install Error: Module build failed: Error: ENOENT: no such file or directory, scandir
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution
- How to Solve @Vue/cli3.X Using less Error
- [Solved] error C:\Users\HP\Desktop\VueProject\vue_cli\node_modules\node-sass: Command failed.Exit code: 1