安装node-sass时,遇到的错误MSBUILD: error MSB3428 Visual C++ VCBuild.exe 1) .NET Framework 2.0 SDK Microsoft

使用npm install node-sass时,遇到的错误: 
这里写图片描述



解决方法1:

Using node-sass with Visual Studio 2015 Task Runner 
https://github.com/sass/node-sass/blob/master/TROUBLESHOOTING.md#windows 
这里写图片描述

解决方法2:

使用cnpm来安装node-sass

$ npm install cnpm -g --registry=https://registry.npm.taobao.org
$ cnpm install node-sass --registry=https://registry.npm.taobao.org

相关问题: 
https://github.com/sass/node-sass/issues/1557

posted @ 2017-07-23 15:06  你的峰哥  阅读(629)  评论(0编辑  收藏  举报