node-sass/node-gpy Could not load the Visual C++ component "VCBuild.exe"

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".
To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua
l Studio 2005 or 3) add the location of the component to the system path if it
is installed elsewhere. [C:\try1\node_modules\socket.io\node_modules\engine.io
\node_modules\ws\node_modules\utf-8-validate\build\binding.sln]
gyp ERR! build error

解决办法:

  • python版本需要ptyhon2
  • .NET Framework 2.0 SDK
// as admin
# npm install --global --production windows-build-tools

# reboot
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 173,954评论 25 709
  • WebSocket-Swift Starscream的使用 WebSocket 是 HTML5 一种新的协议。它实...
    香橙柚子阅读 24,170评论 8 184
  • # Python 资源大全中文版 我想很多程序员应该记得 GitHub 上有一个 Awesome - XXX 系列...
    aimaile阅读 26,622评论 6 427
  • 一瓶饮料打开后只能保留24小时,膨化食品拆开后第二天就不再嘎嘣脆,新鲜的草莓放几天就会烂掉,这个世界上还有什么东西...
    细雨倾城阅读 178评论 0 0
  • 这些年出门在外,顾及这个人的感受顾及那个人的感受,却唯独忽略了父母的感受。总是悻悻的以为父母还年轻力行,他...
    夏曲阅读 445评论 0 1