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 !的主要内容,如果未能解决你的问题,请参考以下文章

npm install时出现错误:node-sass@4.14.1 postinstall: `node scripts/build.js`/ERR

npm install时出现错误:node-sass@4.14.1 postinstall: `node scripts/build.js`/ERR

Error: EACCES: permission denied, mkdir '......node-sass/build'错误解决方案

npm ERR! Failed at the node-sass@4.13.0 postinstall script.

输入npm install 报错npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.13.1 postinstall: `no

Failed at the node-sass@4.14.1 postinstall script. npm ERR! This is probably not a problem with npm(