簡體   English   中英

jsdom安裝中出現MS錯誤-Node js

[英]Getting MS error in installation of jsdom - node js

我正在安裝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是什么?

看起來gyp嘗試為x64構建(最可能是因為您安裝了node-x64),而在Visual Studio中卻沒有安裝x64 C ++編譯器。 嘗試修改VS安裝以包括x64工具鏈,或者嘗試使用/安裝32位節點。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM