Problem: version correspondence
solution:
- uninstall node sass OL>
npm uninstall node-sass
- install version 4.14.1 OL>
npm install [email protected]
- network problems may occur during installation. Taobao image can be used. It is recommended to use the following methods. It is not recommended to permanently use Taobao image
single use OL>
npm install --registry=https://registry.npm.taobao.org
- if you still cannot install, you can find the corresponding version number in the package.json file and modify it directly. The version number I use here is
node sass: 4.14.1
sass loader: 7.1.3
generally, the idea will remind the update dependency in the lower right corner, otherwise the node will be deleted directly_ Download the modules folder again OL>
Reference link 1
reference link 2
Read More:
- Node Sass version 6.0.1 is incompatible with ^4.0.0.
- Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0.
- Solution to node sass installation failure
- Module build failed: Error: ENOENT: no such file or directory, scandir,‘node_modules\node-sass\vend’
- The Vue project does not install node sass and an error is reported
- Solution to the problem of selecting node sass when creating vue-cli3
- Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtim
- After node.js is installed, use the instruction node version in vscode to show that it is not an external or internal instruction. The solution is as follows:
- Simple solution for node sass installation failure
- Error: cannot find module ‘node sass’
- Module build failed: Error: Node Sass does not yet support your current environment: Windows 64-bit
- Module build failed: error: cannot find module ‘node sass’ error
- Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its
- NPM and Node.js Version incompatibility
- Syntax error: typeerror: this.getoptions is not a function an error is reported when the. SCSS file is imported globally
- [Solved] Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
- Version 1.8.0_201 of the JVM is not suitable for this product. Version: 11 or greater is required.
- The Ethereum private chain is built, and the block information cannot be synchronized. The error is resolved: Node data write error err=”state node failed with all peers(1 tries, 1 peers)
- Uncaught TypeError: Failed to execute ‘removeChild’ on ‘Node’: parameter 1 is not of type ‘Node’.
- Module not found: Error: Can’t resolve ‘sass-loader’ in ‘F:\H5\project-h5’