Open
Description
Initially:
npm install > [email protected] install /Users/bwest/Projects/react-testing-mocha-jsdom/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/bwest/.node-gyp/8.15.0/include/node/v8.h:3901:3: note: 'NewInstance' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", Local<Object> NewInstance() const); ^ /Users/bwest/.node-gyp/8.15.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../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/bwest/.node-gyp/8.15.0/include/node/v8.h:3453:3: note: 'GetRealNamedProperty' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", ^ /Users/bwest/.node-gyp/8.15.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/contextify.cc:209:38: warning: 'GetRealNamedProperty' is deprecated [-Wdeprecated-declarations] if (!Nan::New(ctx->sandbox)->GetRealNamedProperty(property).IsEmpty() || ^ /Users/bwest/.node-gyp/8.15.0/include/node/v8.h:3453:3: note: 'GetRealNamedProperty' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", ^ /Users/bwest/.node-gyp/8.15.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/contextify.cc:210:42: warning: 'GetRealNamedProperty' is deprecated [-Wdeprecated-declarations] !Nan::New(ctx->proxyGlobal)->GetRealNamedProperty(property).IsEmpty()) { ^ /Users/bwest/.node-gyp/8.15.0/include/node/v8.h:3453:3: note: 'GetRealNamedProperty' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", ^ /Users/bwest/.node-gyp/8.15.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ 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 (/Users/bwest/.nvm/versions/node/v8.15.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) gyp ERR! System Darwin 18.6.0 gyp ERR! command "/Users/bwest/.nvm/versions/node/v8.15.0/bin/node" "/Users/bwest/.nvm/versions/node/v8.15.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/bwest/Projects/react-testing-mocha-jsdom/node_modules/contextify gyp ERR! node -v v8.15.0 gyp ERR! node-gyp -v v3.8.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. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /Users/bwest/.npm/_logs/2019-10-09T22_41_19_509Z-debug.log
I updated jsdom to a more recent version, but I'm unclear on what the latest version is that supports the API used.
Please consider making a note or taking this repo down, if it is unmaintained
Metadata
Metadata
Assignees
Labels
No labels