Skip to content

Instantly share code, notes, and snippets.

@hansrwindhoff
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save hansrwindhoff/28c96d487ce7e315fe6c to your computer and use it in GitHub Desktop.

Select an option

Save hansrwindhoff/28c96d487ce7e315fe6c to your computer and use it in GitHub Desktop.
installing node.js npm modules on windows when c-compiler needs to run (gyp)
If you have visual studio 2013:
npm install node-inspector --msvs_version=2013
or other versions as they are present (2010, 2012,...)
here the output showing the successful build steps:
U:\...> npm install --msvs_version=2013 node-inspector
npm WARN package.json NodejsDebug@0.0.0 No repository field.
-
> ws@0.4.32 install U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug\node_modules\node-inspector\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug\node_modules\node-inspector\node_modules\ws>node "C:\Users\hansw\AppData\Roa
ming\nvm\v0.10.32\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
bufferutil.cc
C:\Users\hansw\.node-gyp\0.10.32\deps\v8\include\v8.h(179): warning C4506: no definition for inline function 'v8::Persi
stent<v8::Object> v8::Persistent<v8::Object>::New(v8::Handle<v8::Object>)' [U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug
\node_modules\node-inspector\node_modules\ws\build\bufferutil.vcxproj]
Creating library U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug\node_modules\node-inspector\node_modules\ws\build\Rel
ease\bufferutil.lib and object U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug\node_modules\node-inspector\node_modules\w
s\build\Release\bufferutil.exp
Generating code
Finished generating code
bufferutil.vcxproj -> U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug\node_modules\node-inspector\node_modules\ws\build\R
elease\\bufferutil.node
validation.cc
C:\Users\hansw\.node-gyp\0.10.32\deps\v8\include\v8.h(179): warning C4506: no definition for inline function 'v8::Persi
stent<v8::Object> v8::Persistent<v8::Object>::New(v8::Handle<v8::Object>)' [U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug
\node_modules\node-inspector\node_modules\ws\build\validation.vcxproj]
Creating library U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug\node_modules\node-inspector\node_modules\ws\build\Rel
ease\validation.lib and object U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug\node_modules\node-inspector\node_modules\w
s\build\Release\validation.exp
Generating code
Finished generating code
validation.vcxproj -> U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug\node_modules\node-inspector\node_modules\ws\build\R
elease\\validation.node
npm WARN optional dep failed, continuing default-browser-id@1.0.2
> v8-debug@0.4.2 install U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug\node_modules\node-inspector\node_modules\v8-debug
> node-pre-gyp install --fallback-to-build
[v8-debug] Success: "U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug\node_modules\node-inspector\node_modules\v8-debug\build
\debug\v0.4.2\node-v11-win32-ia32\debug.node" is installed via remote
> v8-profiler@5.2.4 install U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug\node_modules\node-inspector\node_modules\v8-prof
iler
> node-pre-gyp install --fallback-to-build
[v8-profiler] Success: "U:\code\GitHub\VSTS\NodejsDebug\NodejsDebug\node_modules\node-inspector\node_modules\v8-profiler
\build\profiler\v5.2.4\node-v11-win32-ia32\profiler.node" is installed via remote
npm WARN prefer global node-inspector@0.9.2 should be installed with -g
node-inspector@0.9.2 node_modules\node-inspector
├── which@1.0.9
├── async@0.9.0
├── semver@3.0.1
├── yargs@1.3.3
├── debug@1.0.4 (ms@0.6.2)
├── rc@0.5.5 (strip-json-comments@0.1.3, deep-extend@0.2.11, ini@1.3.3, minimist@0.0.10)
├── strong-data-uri@0.1.1 (truncate@1.0.4)
├── serve-favicon@2.2.0 (fresh@0.2.4, ms@0.7.0, parseurl@1.3.0, etag@1.5.1)
├── glob@4.5.3 (inherits@2.0.1, once@1.3.1, inflight@1.0.4, minimatch@2.0.4)
├── express@4.12.2 (merge-descriptors@1.0.0, utils-merge@1.0.0, cookie-signature@1.0.6, methods@1.1.1, fresh@0.2.4, esca
pe-html@1.0.1, cookie@0.1.2, range-parser@1.0.2, content-type@1.0.1, finalhandler@0.3.3, vary@1.0.0, parseurl@1.3.0, con
tent-disposition@0.5.0, path-to-regexp@0.1.3, depd@1.0.0, qs@2.3.3, debug@2.1.3, on-finished@2.2.0, etag@1.5.1, proxy-ad
dr@1.0.6, send@0.12.1, serve-static@1.9.2, accepts@1.2.5, type-is@1.6.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment