install node-sass报错
来源:3-15 错误处理及效果演示

慕勒7549832
2022-09-17
老师好,在安装node-sass一直报错说没有vs,但是已经安装了vs installer
gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the “Desktop development with C++” workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
2回答
-
在这里统一回复一下哈,国内安装 node-sass 很有可能会有各种失败,所以 sass 已经不建议配合 node-sass 使用了,而是使用 dart-sass。具体可查看:https://sass-lang.com/dart-sass
012022-09-17 -
慕勒7549832
提问者
2022-09-17
已解决
00
相似问题