node-sass build err in windows !

Posted zjhblogs

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了node-sass build err in windows !相关的知识,希望对你有一定的参考价值。

主要的报错信息

gyp ERR! build error
gyp ERR! stack Error: `C:WindowsMicrosoft.NETFrameworkv4.0.30319msbuild.exe` failed with exit code: 1

 

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

第一步:

npm install -g node-gyp 

第二步:

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

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

以上是关于node-sass build err in windows !的主要内容,如果未能解决你的问题,请参考以下文章