【问题标题】:Cannot install ccap (nodejs library) on windows 7无法在 Windows 7 上安装 ccap(nodejs 库)
【发布时间】:2013-08-15 03:48:22
【问题描述】:

我以管理权限启动 CMD,然后是:npm install -g ccap

但我得到一个错误:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform
.Targets(23,7): error MSB8007: The Platform for project 'hcaptha.vcxproj' is in
valid.  Platform='x64'. You may be seeing this message because you are trying t
o build a project without a solution file, and have specified a non-default Pla
tform that doesn't exist for this project. [C:\Users\adam\AppData\Roaming\npm\n
ode_modules\ccap\build\hcaptha.vcxproj]

【问题讨论】:

    标签: node.js npm


    【解决方案1】:

    找到了一个新的、更有可能的原因。 gyp 节点和 Windows x64 存在一些兼容性问题。检查 node-gyp 和 node 的版本并尝试更新。看到这个:https://github.com/voodootikigod/node-serialport/issues/90#issuecomment-8964116

    【讨论】:

      猜你喜欢
      • 2015-11-13
      • 2020-03-17
      • 2012-11-25
      • 2013-03-02
      • 1970-01-01
      • 1970-01-01
      • 2013-03-15
      • 2014-09-04
      • 2011-07-19
      相关资源
      最近更新 更多