Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Build fails #155

71104 opened this Issue · 3 comments

4 participants


Windows 7 Professional x64, node.js v0.10.15, Python 2.7.5, Visual Studio 2010 Express, node-gyp installed right now through npm. I have downloaded node-sqlserver through this link:

And this is my output:

$ 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.15 | win32 | x64
gyp info spawn C:\windows\Microsoft.NET\Framework\v4.0.30319\msbuild.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.
Project file contains ToolsVersion="12.0". This toolset may be unknown or missi
ng, in which case you may be able to resolve this by installing the appropriate
 version of MSBuild, or the build may have been forced to a particular ToolsVer
sion for policy reasons. Treating the project as if it had ToolsVersion="4.0".
For more information, please see
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform
.Targets(23,7): error MSB8007: The Platform for project 'sqlserver.vcxproj' is
invalid.  Platform='x64'. You may be seeing this message because you are trying
 to build a project without a solution file, and have specified a non-default P
latform that doesn't exist for this project. [c:\Users\Alberto\Documents\msnode
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\Alberto\AppData\Roaming\npm\
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "c:\\Program Files\\nodejs\\node.exe" "c:\\Users\\Alberto\\AppD
ata\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build"
gyp ERR! cwd c:\Users\Alberto\Documents\msnodesql
gyp ERR! node -v v0.10.15
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok

Same here.


and same here


i couldn't get it built with VS 2010 or 2012, but did get it working with 2013 Express and 32-bit node. this stackoverflow thread may be helpful:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.