Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Error with node-gyp build #125

Open
chriscn opened this Issue · 1 comment

2 participants

@chriscn

Any help would be appreciated!! Thanks!

E:\Program Files\nodejs\node_modules\msnodesql>node-gyp build
gyp info it worked if it ends with ok
gyp info using node-gyp@0.9.5
gyp info using node@0.10.4 | win32 | x64
gyp info spawn E:\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.
E:\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. [E:\Program Files\nodejs\node_modu
les\msnodesql\build\sqlserver.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: E:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (E:\Users\zhongzh\AppData\Roaming\npm\
node_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:784:
12)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "E:\Users\zhongzh\AppData\Roaming\npm\node_modules
\node-gyp\bin\node-gyp.js" "build"
gyp ERR! cwd E:\Program Files\nodejs\node_modules\msnodesql
gyp ERR! node -v v0.10.4
gyp ERR! node-gyp -v v0.9.5
gyp ERR! not ok

@colonelchlorine

If you have VS2012 installed try using

node install msnodesql --msvs_version=2012

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.