1、执行npm i -g npm
2、执行npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
3、npm uninstall node-sass
4、npm install node-sass
node16+ 对应的node-sass,sass-loader版本
"sass-loader": "^10.2.0",
"node-sass": "^6.0.1"
1、执行npm i -g npm
2、执行npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
3、npm uninstall node-sass
4、npm install node-sass
node16+ 对应的node-sass,sass-loader版本
"sass-loader": "^10.2.0",
"node-sass": "^6.0.1"