Check whether the node-sass and node versions correspond node -v The specific corresponding versions are as follows: Image from https://github.com/sass/node-sass The node version does not correspond, upgrade or downgrade the nodeUse nvm to manage and switch node versionsInstall nvm-window https://github.com/coreybutler/nvm-windows. Win10 adds system environment and user environment by default. If the command line cannot use nvm, you need to add the environment yourself Use the image to find the settings.txt file in the nvm installation directory node_mirror: https://npm.taobao.org/mirrors/node/ npm_mirror: https://npm.taobao.org/mirrors/npm/ Install and use node.js through nvm nvm install 12.1.0 To switch to a certain version, you can use the use command, such as: nvm use 12.1.0 After the switch is complete, you can enter node -v and npm -v, and you can see that the version has been switched to the version you want to use. nvm ls node-sass version mismatchExecute in project environment npm uninstall node-sass npm install node-sass@version number --save-dev Check if the node-sass and sass-loader versions correspondThe following are some version numbers corresponding to the specific Baidu sass-loader 4.1.1, node-sass 4.3.0 sass-loader 7.0.3, node-sass 4.7.2 sass-loader 7.3.1, node-sass 4.7.2 sass-loader 7.3.1, node-sass 4.14.1 Execute in project environment npm uninstall node-sass sass-loader npm install sass-loader@version numbernode-sass@version number--save-dev //Install the corresponding version This is the end of this article about the node node-sass sass-loader version correspondence issue. For more relevant node node-sass sass-loader version correspondence content, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Ubuntu 20.04 turns on hidden recording noise reduction function (recommended)
>>: How to query date and time in mysql
Table of contents background Understanding compos...
Docker Overview Docker is an open source software...
Table of contents Batch copy copyWithin() Fill ar...
1. Use docker images to view all the image files ...
This article shares the specific code of JavaScri...
A colleague once told me to use a temporary table...
mysql create table sql statement Common SQL state...
WeChat Mini Programs are becoming more and more p...
Importing data with incorrect MySQL character set...
Tutorial Series MySQL series: Basic concepts of M...
The Spring Boot project uses docker containers, j...
The first web page I designed is as follows: I ha...
Slow log query function The main function of slow...
Today I learned to install MySQL, and some proble...
<br />I have always believed that Yahoo'...