【问题标题】:Getting MS error in installation of jsdom - node js安装 jsdom 时出现 MS 错误 - node js
【发布时间】:2014-10-14 04:11:03
【问题描述】:

我正在安装 jsdom。我正在关注http://www.steveworkman.com/node-js/2012/installing-jsdom-on-windows/,但我得到了:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform
.Targets(23,7): error MSB8007: The Platform for project 'contextify.vcxproj' is
 invalid.  Platform='x64'. You may be seeing this message because you are tryin
g to build a project without a solution file, and have specified a non-default
Platform that doesn't exist for this project. [c:\wamp\www\node_modules\context
ify\build\contextify.vcxproj]

我能理解我为什么会得到这个吗? MSB8007是什么?

【问题讨论】:

    标签: javascript node.js jsdom node.js-domains


    【解决方案1】:

    看起来 gyp 尝试为 x64 构建(很可能是因为您安装了 node-x64)并且您没有安装 Visual Studio 中的 x64 C++-Compiler。尝试修改您的 VS 安装以包含 x64 工具链,或尝试使用/安装 32 位节点。

    【讨论】:

      猜你喜欢
      • 2018-06-21
      • 1970-01-01
      • 1970-01-01
      • 2021-05-29
      • 2020-08-16
      • 2019-04-21
      • 2019-01-13
      • 2019-04-17
      • 2019-01-15
      相关资源
      最近更新 更多