node-sass build err in windows !

主要的报错信息

gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1

请重新安装windows 编译工具 node-gyp 

第一步:

npm install -g node-gyp 

第二步:

npm install --global --production windows-build-tools

第二步安装时间比较长请耐心等待

猜你喜欢

转载自www.cnblogs.com/zjhblogs/p/12397649.html