npm install 提示 path xxx/node_modules/node-sass npm ERR! command failed 解决方法

实际上是版本不兼容导致
参考:
https://blog.csdn.net/suhanyujie/article/details/119942067
https://www.cnblogs.com/huasonglin/p/14777752.html

image.png

image.png

rmdir /s node_modules

set SASS_BINARY_PATH=D:/nodesass/win32-x64-93_binding.node

npm i

npm run dev

你可能感兴趣的:(npm install 提示 path xxx/node_modules/node-sass npm ERR! command failed 解决方法)