Skip to content

Instantly share code, notes, and snippets.

@ttamminen
Created October 10, 2015 12:27
Show Gist options
  • Save ttamminen/55ab5e5aab84c3ca6403 to your computer and use it in GitHub Desktop.
Save ttamminen/55ab5e5aab84c3ca6403 to your computer and use it in GitHub Desktop.
C:\gh\my-project-x [master]> npm install
npm WARN prefer global [email protected] should be installed with -g
> [email protected] install C:\gh\my-project-x\node_modules\contextify
> node-gyp rebuild
C:\gh\my-project-x\node_modules\contextify>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
contextify.cc
C:\gh\my-project-x\node_modules\nan\nan.h(263): error C2995: 'v8::Local<T> _NanEnsureLocal(v8::Local<T>)' : function template has already been defined [C:\gh\my-project-x\node_modules\contextify\build\contextify.vcxproj]
C:\gh\my-project-x\node_modules\nan\nan.h(256) : see declaration of '_NanEnsureLocal'
C:\gh\my-project-x\node_modules\nan\nan.h(661): error C3083: 'smalloc': the symbol to the left of a '::' must be a type [C:\gh\my-project-x\node_modules\contextify\build\contextify.vcxproj]
C:\gh\my-project-x\node_modules\nan\nan.h(661): error C2039: 'FreeCallback' : is not a member of 'node' [C:\gh\my-project-x\node_modules\contextify\build\contextify.vcxproj]
C:\gh\my-project-x\node_modules\nan\nan.h(661): error C2061: syntax error : identifier 'FreeCallback' [C:\gh\my-project-x\node_modules\contextify\build\contextify.vcxproj]
C:\gh\my-project-x\node_modules\nan\nan.h(665): error C2065: 'callback' : undeclared identifier [C:\gh\my-project-x\node_modules\contextify\build\contextify.vcxproj]
C:\gh\my-project-x\node_modules\nan\nan.h(665): error C2065: 'hint' : undeclared identifier [C:\gh\my-project-x\node_modules\contextify\build\contextify.vcxproj]
C:\gh\my-project-x\node_modules\nan\nan.h(672): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types [C:\gh\my-project-x\node_modules\contextify\build\contextify.vcxproj]
C:\Users\Tx3\.node-gyp\4.1.2\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Tx3\.node-gyp\4.1.2\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, uint32_t)'
C:\gh\my-project-x\node_modules\nan\nan.h(676): error C2664: 'v8::Local<v8::Object>::Local(const v8::Local<v8::Object> &)' : cannot convert argument 1 from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' [C:\gh\my-project-x\node_modules\contextify\build\contextify.vcxproj]
Reason: cannot convert from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object>'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\gh\my-project-x\node_modules\nan\nan.h(683): error C2039: 'Use' : is not a member of 'node::Buffer' [C:\gh\my-project-x\node_modules\contextify\build\contextify.vcxproj]
C:\gh\my-project-x\node_modules\nan\nan.h(683): error C3861: 'Use': identifier not found [C:\gh\my-project-x\node_modules\contextify\build\contextify.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node
-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\gh\my-project-x\node_modules\contextify
gyp ERR! node -v v4.1.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "ins
tall"
npm ERR! node v4.1.2
npm ERR! npm v2.14.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\gh\my-project-x\npm-debug.log
C:\gh\my-project-x [master]> npm view
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "vie
w"
npm ERR! node v4.1.2
npm ERR! npm v2.14.4
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on http://registry.npmjs.org/my-project-x
npm ERR! 404
npm ERR! 404 'my-project-x' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! C:\gh\my-project-x\npm-debug.log
C:\gh\my-project-x [master]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment