Here's what I've done so far on my x64 OS:
- Installed Python (v2.7 --specifically 2.7.6) and added it to the system path (C:Python27)
- Installed MS VS C++ 2010 Express Version (I already had VS 2012 but without the C++ component)
- Installed the compiler update for Windows SDK 7.1
Successfully executed node-gyp configure (from my add-on directory under nodejs
ode_modules where binding.gyp is located)
ran node-gyp build (as administrator)** This is what crashed, leaving me with:
this error:
C:Program Files
odejs
ode_modulesmsnodesql>node-gyp build
gyp info it worked if it ends with ok
gyp info using node-gyp@0.12.2
gyp info using node@0.10.25 | win32 | x64
gyp info spawn C:WindowsMicrosoft.NETFrameworkv4.0.30319msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args '/clp:Verbosity=minimal',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64' ]
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
LINK : fatal error LNK1181: cannot open input file 'kernel32.lib' [C:Program Files
odejs
ode_modulesmsnodesqluildsqlserver.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:WindowsMicrosoft.NETFrameworkv4.0.30319msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:UsersRNelsonAppDataRoaming
pm
ode_modules
ode-gyplibuild.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:797:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Users\RNelson\AppData\Roaming\npm\node_modules\node- gyp\bin\node-gyp.js" "build"
gyp ERR! cwd C:Program Files
odejs
ode_modulesmsnodesql
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
Any ideas as to what is going on? Thanks in advance! Just trying to use my node-sqlserver MS driver for Node.js
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…