安装MSNODESQL的时候碰到一个错误无论如何都没有办法解决,有谁遇到过一样的情况么,
我在安装iroute的时候也碰到这种情况
错误代码如下,
gyp info spawn args '/p:Configuration=Release;Platform=x64' ]
在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform
.Targets(23,7): error MSB8007: 项目“sqlserver.vcxproj”的平台无效。平台为“x64
”。您会看到此消息的可能原因
是,您尝试在没有解决方案文件的情况下生成项目,并且为此项目指定了并不存在的非默认
平台。 [F:\msnodesql\build\sqlserver.vcxpr
oj]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\pans\AppData\Roaming\npm\nod
e_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:
12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Users\pans\AppData\Roaming\npm\node_modules\n
ode-gyp\bin\node-gyp.js" "build"
gyp ERR! cwd F:\msnodesql
gyp ERR! node -v v0.10.17
gyp ERR! node-gyp -v v0.10.9
gyp ERR! not ok
有谁碰到过么,知道如何解决么?????