Open hryanjones opened 5 years ago
I get a lot of error output when I try yarn and yarn build and most of it seems to be complaints about ToObject inside .node-gyp.
yarn
yarn build
ToObject
.node-gyp
I can try to dig in, but just checking if there's any quick ideas on the issue.
Here's the last page of the error output (there's a lot more, but it's similar): ` /home/hryanjones/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^ /home/hryanjones/.node-gyp/12.2.0/include/node/v8.h:2546:35: note: candidate expects 1 argument, 0 provided Local<Object> ToObject(Isolate* isolate) const); ^ /home/hryanjones/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^ sodium.target.mk:117: recipe for target 'Release/obj.target/sodium/binding.o' failed make: Leaving directory '/home/hryanjones/Documents/github/farm/node_modules/sodium-native/build' make: *** [Release/obj.target/sodium/binding.o] Error 1 gyp ERR! build error gyp ERR! stack Error:make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at ChildProcess.emit (events.js:196:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:257:12) gyp ERR! System Linux 4.4.0-164-generic gyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" gyp ERR! cwd /home/hryanjones/Documents/github/farm/node_modules/sodium-native gyp ERR! node -v v12.2.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok" info This module is OPTIONAL, you can safely ignore this error
` /home/hryanjones/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^ /home/hryanjones/.node-gyp/12.2.0/include/node/v8.h:2546:35: note: candidate expects 1 argument, 0 provided Local<Object> ToObject(Isolate* isolate) const); ^ /home/hryanjones/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^ sodium.target.mk:117: recipe for target 'Release/obj.target/sodium/binding.o' failed make: Leaving directory '/home/hryanjones/Documents/github/farm/node_modules/sodium-native/build' make: *** [Release/obj.target/sodium/binding.o] Error 1 gyp ERR! build error gyp ERR! stack Error:
I'm running on ubuntu 16.04, node version 12. Thanks! Ryan
same
I get a lot of error output when I try
yarn
andyarn build
and most of it seems to be complaints aboutToObject
inside.node-gyp
.I can try to dig in, but just checking if there's any quick ideas on the issue.
Here's the last page of the error output (there's a lot more, but it's similar):
` /home/hryanjones/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^ /home/hryanjones/.node-gyp/12.2.0/include/node/v8.h:2546:35: note: candidate expects 1 argument, 0 provided Local<Object> ToObject(Isolate* isolate) const); ^ /home/hryanjones/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^ sodium.target.mk:117: recipe for target 'Release/obj.target/sodium/binding.o' failed make: Leaving directory '/home/hryanjones/Documents/github/farm/node_modules/sodium-native/build' make: *** [Release/obj.target/sodium/binding.o] Error 1 gyp ERR! build error gyp ERR! stack Error:
make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at ChildProcess.emit (events.js:196:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:257:12) gyp ERR! System Linux 4.4.0-164-generic gyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" gyp ERR! cwd /home/hryanjones/Documents/github/farm/node_modules/sodium-native gyp ERR! node -v v12.2.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok" info This module is OPTIONAL, you can safely ignore this error