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:
- [Solved] Syntax Error: Error: Node Sass does not yet support your current environment: Windows 64-bit with
- [Solved] Error: Node Sass does not yet support your current environment
- NPM run dev runs the Vue project and reports an error: Node Sass does not yet support your current environment
- [Solved] Node sass version 7.0.0 is incompatible with ^ 4.0.0 | ^ 5.0.0 | ^ 6.0.0
- Vue installs sass loader directly, and node sass reports an error
- [Solved] Vue Project Error: Syntax Error: TypeError: this.getOptions is not a function
- [Solved] error C:\Users\HP\Desktop\VueProject\vue_cli\node_modules\node-sass: Command failed.Exit code: 1
- [Solved] This.getoptions is not a function when installing sass loader and less loader
- [Solved] Error: ENOENT: no such file or directory, scandir ‘..\node_modules\node-sass\vendor‘
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- [Solved] Vue Error: Module build failed Error Node Sass version 6.0.1 is incompatible with ^4.0.0.
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- Vue Use scss Error: this.getOptions is not a function [How to Solve]
- package.json Scripts configuration environment variable distinguishes development environment from production environment
- Node rsa Library Error [InvalidAsn1Error]: Expected 0x2: got 0x30
- Vue Package Image Error: Syntax Error: Error: ‘**\node_modules\pngquant-bin\vendor\pngquant.exe‘
- node.js yarn Error: SyntaxError: Unexpected string [How to Solve]
- [Solved] Vue Error: error:0308010C:digital envelope routines::unsupported
- [Solved] vueCli 4.x Upgrade to 5.x Error: Progress Plugin Invalid Options