Skip to content

Instantly share code, notes, and snippets.

@jodok
Created March 19, 2017 10:01
Show Gist options
  • Select an option

  • Save jodok/a82495015fa328c0192f4e5280ffc4e7 to your computer and use it in GitHub Desktop.

Select an option

Save jodok/a82495015fa328c0192f4e5280ffc4e7 to your computer and use it in GitHub Desktop.
➜ crate-datasource git:(master) ✗ npm install contextify
> [email protected] install /Users/jodok/sandbox/crate-datasource/node_modules/contextify
> node-gyp rebuild
CXX(target) Release/obj.target/contextify/src/contextify.o
../src/contextify.cc:131:56: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]
Local<Object> wrapper = Nan::New(constructor)->NewInstance();
^
/Users/jodok/.node-gyp/7.7.3/include/node/v8.h:3662:52: note: 'NewInstance' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Object> NewInstance() const);
^
../src/contextify.cc:150:16: error: no member named 'SetAccessCheckCallbacks' in 'v8::ObjectTemplate'
otmpl->SetAccessCheckCallbacks(GlobalPropertyNamedAccessCheck,
~~~~~ ^
../src/contextify.cc:182:51: warning: 'GetRealNamedProperty' is deprecated [-Wdeprecated-declarations]
Local<Value> rv = Nan::New(ctx->sandbox)->GetRealNamedProperty(property);
^
/Users/jodok/.node-gyp/7.7.3/include/node/v8.h:3234:30: note: 'GetRealNamedProperty' has been explicitly marked deprecated here
Local<Value> GetRealNamedProperty(Local<String> key));
^
../src/contextify.cc:209:38: warning: 'GetRealNamedProperty' is deprecated [-Wdeprecated-declarations]
if (!Nan::New(ctx->sandbox)->GetRealNamedProperty(property).IsEmpty() ||
^
/Users/jodok/.node-gyp/7.7.3/include/node/v8.h:3234:30: note: 'GetRealNamedProperty' has been explicitly marked deprecated here
Local<Value> GetRealNamedProperty(Local<String> key));
^
../src/contextify.cc:210:42: warning: 'GetRealNamedProperty' is deprecated [-Wdeprecated-declarations]
!Nan::New(ctx->proxyGlobal)->GetRealNamedProperty(property).IsEmpty()) {
^
/Users/jodok/.node-gyp/7.7.3/include/node/v8.h:3234:30: note: 'GetRealNamedProperty' has been explicitly marked deprecated here
Local<Value> GetRealNamedProperty(Local<String> key));
^
4 warnings and 1 error generated.
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:194:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.5.0
gyp ERR! command "/usr/local/Cellar/node/7.7.3/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jodok/sandbox/crate-datasource/node_modules/contextify
gyp ERR! node -v v7.7.3
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
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! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, 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 information on how to open an issue for this project with:
npm ERR! npm bugs contextify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jodok/.npm/_logs/2017-03-19T10_00_47_121Z-debug.log
➜ crate-datasource git:(master) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment