nodejs / node-gyp

Node.js native addon build tool
MIT License
9.95k stars 1.8k forks source link

node-gyp fails on Node 12.2 OSX Mojave 10.14.3 #1757

Closed marcuslindfeldt closed 5 years ago

marcuslindfeldt commented 5 years ago
Verbose output (from npm or node-gyp): ``` yarn global v1.16.0 [1/4] Resolving packages... [2/4] Fetching packages... warning Pattern ["recast@git://github.com/kalcifer/recast.git#bug/allowbreak"] is trying to unpack in the same destination "/Users/marlin/Library/Caches/Yarn/v4/npm-recast-0.11.18-b66a17eee9e072338744b947a406d3f134bc0b0d/node_modules/recast" as pattern ["recast@^0.11.17"]. This could result in non-deterministic behavior, skipping. warning Pattern ["yeoman-generator@git://github.com/ev1stensberg/generator.git#Feature-getArgument"] is trying to unpack in the same destination "/Users/marlin/Library/Caches/Yarn/v4/npm-yeoman-generator-1.1.1-9e24fa31c85302ca1145ae34fc68b4f133251ca0/node_modules/yeoman-generator" as pattern ["yeoman-generator@^1.1.0","yeoman-generator@^1.1.0","yeoman-generator@^1.1.0","yeoman-generator@^1.1.1","yeoman-generator@^1.0.1"]. This could result in non-deterministic behavior, skipping. [3/4] Linking dependencies... [4/4] Building fresh packages... warning Error running install script for optional dependency: "/Users/marlin/.config/yarn/global/node_modules/keytar: Command failed. Exit code: 1 Command: node-gyp rebuild Arguments: Directory: /Users/marlin/.config/yarn/global/node_modules/keytar Output: gyp info it worked if it ends with ok gyp info using node-gyp@3.8.0 gyp info using node@12.2.0 | darwin | x64 gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp info spawn /usr/local/bin/python2 gyp info spawn args [ gyp info spawn args '/Users/marlin/.nvm/versions/node/v12.2.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/Users/marlin/.config/yarn/global/node_modules/keytar/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/marlin/.nvm/versions/node/v12.2.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/marlin/.node-gyp/12.2.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/Users/marlin/.node-gyp/12.2.0', gyp info spawn args '-Dnode_gyp_dir=/Users/marlin/.nvm/versions/node/v12.2.0/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/marlin/.node-gyp/12.2.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/marlin/.config/yarn/global/node_modules/keytar', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] CXX(target) Release/obj.target/keytar/src/async.o In file included from ../src/async.cc:4: In file included from ../node_modules/nan/nan.h:190: ../node_modules/nan/nan_maybe_43_inl.h:112:15: error: no member named 'ForceSet' in 'v8::Object' return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs); ~~~ ^ In file included from ../src/async.cc:4: In file included from ../node_modules/nan/nan.h:195: In file included from ../node_modules/nan/nan_converters.h:59: ../node_modules/nan/nan_converters_43_inl.h:22:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations] X(Boolean) ^ ../node_modules/nan/nan_converters_43_inl.h:18:12: note: expanded from macro 'X' val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext()) \\\n ^ :7:1: note: expanded from here ToBoolean ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2523:3: note: 'ToBoolean' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"ToBoolean can never throw. Use Local version.\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../src/async.cc:4: In file included from ../node_modules/nan/nan.h:195: In file included from ../node_modules/nan/nan_converters.h:59: ../node_modules/nan/nan_converters_43_inl.h:40:1: warning: 'BooleanValue' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations] X(bool, Boolean) ^ ../node_modules/nan/nan_converters_43_inl.h:37:15: note: expanded from macro 'X' return val->NAME ## Value(isolate->GetCurrentContext()); \\\n ^ :14:1: note: expanded from here BooleanValue ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2561:3: note: 'BooleanValue' has been explicitly marked deprecated here V8_DEPRECATED(\"BooleanValue can never throw. Use Isolate version.\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:307:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/async.cc:4: In file included from ../node_modules/nan/nan.h:196: In file included from ../node_modules/nan/nan_new.h:189: ../node_modules/nan/nan_implementation_12_inl.h:103:42: error: no viable conversion from 'v8::Isolate *' to 'Local' return scope.Escape(v8::Function::New( isolate ^~~~~~~ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:183:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Isolate *' to 'const v8::Local &' for 1st argument class Local { ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:183:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Isolate *' to 'v8::Local &&' for 1st argument /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:187:13: note: candidate template ignored: could not match 'Local' against 'v8::Isolate *' V8_INLINE Local(Local that) ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:4126:22: note: passing argument to parameter 'context' here Local context, FunctionCallback callback, ^ In file included from ../src/async.cc:4: In file included from ../node_modules/nan/nan.h:196: In file included from ../node_modules/nan/nan_new.h:189: ../node_modules/nan/nan_implementation_12_inl.h:337:37: error: too few arguments to function call, expected 2, have 1 return v8::StringObject::New(value).As(); ~~~~~~~~~~~~~~~~~~~~~ ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:5380:3: note: 'New' declared here static Local New(Isolate* isolate, Local value); ^ In file included from ../src/async.cc:4: In file included from ../node_modules/nan/nan.h:196: In file included from ../node_modules/nan/nan_new.h:189: ../node_modules/nan/nan_implementation_12_inl.h:337:58: error: expected '(' for function-style cast or type construction return v8::StringObject::New(value).As(); ~~~~~~~~~~~~~~~~^ ../node_modules/nan/nan_implementation_12_inl.h:337:60: error: expected expression return v8::StringObject::New(value).As(); ^ In file included from ../src/async.cc:4: ../node_modules/nan/nan.h:832:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:173:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/async.cc:4: ../node_modules/nan/nan.h:847:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:166:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/async.cc:4: ../node_modules/nan/nan.h:862:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:159:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/async.cc:4: ../node_modules/nan/nan.h:909:44: error: no matching member function for call to 'ToString' v8::Local string = from->ToString(); ~~~~~~^~~~~~~~ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2528:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided V8_WARN_UNUSED_RESULT MaybeLocal ToString( ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2544:35: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided Local ToString(Isolate* isolate) const); ^ In file included from ../src/async.cc:4: ../node_modules/nan/nan.h:919:37: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'char *' length_ = string->WriteUtf8(str_, static_cast(len), 0, flags); ^~~~ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2738:26: note: passing argument to parameter 'isolate' here int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^ In file included from ../src/async.cc:4: ../node_modules/nan/nan.h:1471:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return scope.Escape(node::MakeCallback( ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:173:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/async.cc:4: ../node_modules/nan/nan.h:1531:28: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(New(key).ToLocalChecked(), value); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../src/async.cc:4: ../node_modules/nan/nan.h:1537:28: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(key, value); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../src/async.cc:4: ../node_modules/nan/nan.h:1543:28: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(index, value); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3367:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../src/async.cc:4: ../node_modules/nan/nan.h:1549:32: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Get(New(key).ToLocalChecked())); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3412:3: note: 'Get' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", Local Get(Local key)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../src/async.cc:4: ../node_modules/nan/nan.h:1555:48: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(key)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3412:3: note: 'Get' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", Local Get(Local key)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../src/async.cc:4: ../node_modules/nan/nan.h:1560:48: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(index)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3416:3: note: 'Get' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", Local Get(uint32_t index)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../src/async.cc:4: In file included from ../node_modules/nan/nan.h:2220: ../node_modules/nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent >' assert(persistent().IsNearDeath()); ~~~~~~~~~~~~ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert' (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) ^ In file included from ../src/async.cc:4: In file included from ../node_modules/nan/nan.h:2220: ../node_modules/nan/nan_object_wrap.h:67:18: warning: 'MarkIndependent' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations] persistent().MarkIndependent(); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:563:3: note: 'MarkIndependent' has been explicitly marked deprecated here V8_DEPRECATED( ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:307:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/async.cc:4: In file included from ../node_modules/nan/nan.h:2220: ../node_modules/nan/nan_object_wrap.h:124:26: error: no member named 'IsNearDeath' in 'Nan::Persistent >' assert(wrap->handle_.IsNearDeath()); ~~~~~~~~~~~~~ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert' (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) ^ ../src/async.cc:193:12: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New(\"account\").ToLocalChecked(), account); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ ../src/async.cc:194:12: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New(\"password\").ToLocalChecked(), password); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ 15 warnings and 9 errors generated. make: *** [Release/obj.target/keytar/src/async.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/Users/marlin/.nvm/versions/node/v12.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262: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 Darwin 18.2.0 gyp ERR! command \"/Users/marlin/.nvm/versions/node/v12.2.0/bin/node\" \"/Users/marlin/.nvm/versions/node/v12.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" gyp ERR! cwd /Users/marlin/.config/yarn/global/node_modules/keytar gyp ERR! node -v v12.2.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok" info This module is OPTIONAL, you can safely ignore this error warning Error running install script for optional dependency: "/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents, /Users/marlin/.config/yarn/global/node_modules/parcel-bundler/node_modules/fsevents: Command failed. Exit code: 1 Command: node install Arguments: Directory: /Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents Output: node-pre-gyp info it worked if it ends with ok node-pre-gyp info using node-pre-gyp@0.6.34 node-pre-gyp info using node@12.2.0 | darwin | x64 node-pre-gyp info check checked for \"/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node\" (not found) node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v72-darwin-x64.tar.gz node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v72-darwin-x64.tar.gz node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v72-darwin-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.1 and node@12.2.0 (node-v72 ABI) (falling back to source compile with node-gyp) node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v72-darwin-x64.tar.gz node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v72-darwin-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.1 and node@12.2.0 (node-v72 ABI) (falling back to source compile with node-gyp) node-pre-gyp http Connection closed while downloading tarball file gypgyp info it worked if it ends with ok info it worked if it ends with ok gyp info using node-gyp@3.6.3 gyp info using node@12.2.0 | darwin | x64 gyp info using node-gyp@3.6.3 gyp info using node@12.2.0 | darwin | x64 gyp info ok gyp info ok gyp info it worked if it ends with ok gyp info using node-gyp@3.6.3 gyp info using node@12.2.0 | darwin | x64 gyp info it worked if it ends with ok gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp info using node-gyp@3.6.3 gyp info using node@12.2.0 | darwin | x64 gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp info spawn /usr/local/bin/python2 gyp info spawn args [ gyp info spawn args '/Users/marlin/.config/yarn/global/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/marlin/.config/yarn/global/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/marlin/.node-gyp/12.2.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/Users/marlin/.node-gyp/12.2.0', gyp info spawn args '-Dnode_gyp_dir=/Users/marlin/.config/yarn/global/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/marlin/.node-gyp/12.2.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info spawn /usr/local/bin/python2 gyp info spawn args [ gyp info spawn args '/Users/marlin/.config/yarn/global/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/marlin/.config/yarn/global/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/marlin/.node-gyp/12.2.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/Users/marlin/.node-gyp/12.2.0', gyp info spawn args '-Dnode_gyp_dir=/Users/marlin/.config/yarn/global/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/marlin/.node-gyp/12.2.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info ok gyp info ok gyp info it worked if it ends with ok gyp info it worked if it ends with ok gyp info using node-gyp@3.6.3 gyp info using node@12.2.0 | darwin | x64 gyp info using node-gyp@3.6.3 gyp info using node@12.2.0 | darwin | x64 gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] SOLINK_MODULE(target) Release/.node SOLINK_MODULE(target) Release/.node CXX(target) Release/obj.target/fse/fsevents.o CXX(target) Release/obj.target/fse/fsevents.o In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:192: ../../../../nan/nan_maybe_43_inl.h:112:15: error: no member named 'ForceSet' in 'v8::Object' return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs); ~~~ ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:197: In file included from ../../../../nan/nan_converters.h:59: ../../../../nan/nan_converters_43_inl.h:22:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations] X(Boolean) ^ ../../../../nan/nan_converters_43_inl.h:18:12: note: expanded from macro 'X' val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext()) \\\n ^ :7:1: note: expanded from here ToBoolean ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2523:3: note: 'ToBoolean' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"ToBoolean can never throw. Use Local version.\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:197: In file included from ../../../../nan/nan_converters.h:59: ../../../../nan/nan_converters_43_inl.h:40:1: warning: 'BooleanValue' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations] X(bool, Boolean) ^ ../../../../nan/nan_converters_43_inl.h:37:15: note: expanded from macro 'X' return val->NAME ## Value(isolate->GetCurrentContext()); \\\n ^ :14:1: note: expanded from here BooleanValue ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2561:3: note: 'BooleanValue' has been explicitly marked deprecated here V8_DEPRECATED(\"BooleanValue can never throw. Use Isolate version.\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:307:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:198: In file included from ../../../../nan/nan_new.h:189: ../../../../nan/nan_implementation_12_inl.h:103:42: error: no viable conversion from 'v8::Isolate *' to 'Local' return scope.Escape(v8::Function::New( isolate ^~~~~~~ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:183:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Isolate *' to 'const v8::Local &' for 1st argument class Local { ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:183:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Isolate *' to 'v8::Local &&' for 1st argument /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:187:13: note: candidate template ignored: could not match 'Local' against 'v8::Isolate *' V8_INLINE Local(Local that) ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:4126:22: note: passing argument to parameter 'context' here Local context, FunctionCallback callback, ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:192: ../../../../nan/nan_maybe_43_inl.h:112:15: error: no member named 'ForceSet' in 'v8::Object' return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs); ~~~ ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:197: In file included from ../../../../nan/nan_converters.h:59: ../../../../nan/nan_converters_43_inl.h:22:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations] X(Boolean) ^ ../../../../nan/nan_converters_43_inl.h:18:12: note: expanded from macro 'X' val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext()) \\\n ^ :7:1: note: expanded from here ToBoolean ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2523:3: note: 'ToBoolean' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"ToBoolean can never throw. Use Local version.\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:198: In file included from ../../../../nan/nan_new.h:189: ../../../../nan/nan_implementation_12_inl.h:337:37: error: too few arguments to function call, expected 2, have 1 return v8::StringObject::New(value).As(); ~~~~~~~~~~~~~~~~~~~~~ ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:5380:3: note: 'New' declared here static Local New(Isolate* isolate, Local value); ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:197: In file included from ../../../../nan/nan_converters.h:59: ../../../../nan/nan_converters_43_inl.h:40:1: warning: 'BooleanValue' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations] X(bool, Boolean) ^ ../../../../nan/nan_converters_43_inl.h:37:15: note: expanded from macro 'X' return val->NAME ## Value(isolate->GetCurrentContext()); \\\n ^ :14:1: note: expanded from here BooleanValue ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2561:3: note: 'BooleanValue' has been explicitly marked deprecated here V8_DEPRECATED(\"BooleanValue can never throw. Use Isolate version.\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:307:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:198: In file included from ../../../../nan/nan_new.h:189: ../../../../nan/nan_implementation_12_inl.h:337:58: error: expected '(' for function-style cast or type construction return v8::StringObject::New(value).As(); ~~~~~~~~~~~~~~~~^ ../../../../nan/nan_implementation_12_inl.h:337:60: error: expected expression return v8::StringObject::New(value).As(); ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:198: In file included from ../../../../nan/nan_new.h:189: ../../../../nan/nan_implementation_12_inl.h:103:42: error: no viable conversion from 'v8::Isolate *' to 'Local' return scope.Escape(v8::Function::New( isolate ^~~~~~~ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:183:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Isolate *' to 'const v8::Local &' for 1st argument class Local { ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:183:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Isolate *' to 'v8::Local &&' for 1st argument /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:187:13: note: candidate template ignored: could not match 'Local' against 'v8::Isolate *' V8_INLINE Local(Local that) ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:4126:22: note: passing argument to parameter 'context' here Local context, FunctionCallback callback, ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:834:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:173:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:849:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:166:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:864:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:159:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:911:44: error: no matching member function for call to 'ToString' v8::Local string = from->ToString(); ~~~~~~^~~~~~~~ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2528:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided V8_WARN_UNUSED_RESULT MaybeLocal ToString( ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2544:35: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided Local ToString(Isolate* isolate) const); ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:921:37: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'char *' length_ = string->WriteUtf8(str_, static_cast(len), 0, flags); ^~~~ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2738:26: note: passing argument to parameter 'isolate' here int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1473:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return scope.Escape(node::MakeCallback( ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:173:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:198: In file included from ../../../../nan/nan_new.h:189: ../../../../nan/nan_implementation_12_inl.h:337:37: error: too few arguments to function call, expected 2, have 1 return v8::StringObject::New(value).As(); ~~~~~~~~~~~~~~~~~~~~~ ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:5380:3: note: 'New' declared here static Local New(Isolate* isolate, Local value); ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1533:28: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(New(key).ToLocalChecked(), value); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1539:28: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(key, value); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1545:28: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(index, value); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3367:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1551:32: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Get(New(key).ToLocalChecked())); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3412:3: note: 'Get' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", Local Get(Local key)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1557:48: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(key)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3412:3: note: 'Get' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", Local Get(Local key)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1562:48: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(index)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3416:3: note: 'Get' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", Local Get(uint32_t index)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:198: In file included from ../../../../nan/nan_new.h:189: ../../../../nan/nan_implementation_12_inl.h:337:58: error: expected '(' for function-style cast or type construction return v8::StringObject::New(value).As(); ~~~~~~~~~~~~~~~~^ ../../../../nan/nan_implementation_12_inl.h:337:60: error: expected expression return v8::StringObject::New(value).As(); ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:2222: ../../../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent >' assert(persistent().IsNearDeath()); ~~~~~~~~~~~~ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert' (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:2222: ../../../../nan/nan_object_wrap.h:67:18: warning: 'MarkIndependent' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations] persistent().MarkIndependent(); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:563:3: note: 'MarkIndependent' has been explicitly marked deprecated here V8_DEPRECATED( ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:307:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:2222: ../../../../nan/nan_object_wrap.h:124:26: error: no member named 'IsNearDeath' in 'Nan::Persistent >' assert(wrap->handle_.IsNearDeath()); ~~~~~~~~~~~~~ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert' (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:834:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:173:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:849:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:166:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:864:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:159:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:911:44: error: no matching member function for call to 'ToString' v8::Local string = from->ToString(); ~~~~~~^~~~~~~~ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2528:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided V8_WARN_UNUSED_RESULT MaybeLocal ToString( ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2544:35: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided Local ToString(Isolate* isolate) const); ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:921:37: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'char *' length_ = string->WriteUtf8(str_, static_cast(len), 0, flags); ^~~~ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:2738:26: note: passing argument to parameter 'isolate' here int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1473:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return scope.Escape(node::MakeCallback( ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:173:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1533:28: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(New(key).ToLocalChecked(), value); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1539:28: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(key, value); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1545:28: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(index, value); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3367:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1551:32: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Get(New(key).ToLocalChecked())); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3412:3: note: 'Get' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", Local Get(Local key)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1557:48: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(key)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3412:3: note: 'Get' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", Local Get(Local key)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: ../../../../nan/nan.h:1562:48: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(index)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3416:3: note: 'Get' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", Local Get(uint32_t index)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:2222: ../../../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent >' assert(persistent().IsNearDeath()); ~~~~~~~~~~~~ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert' (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:2222: ../../../../nan/nan_object_wrap.h:67:18: warning: 'MarkIndependent' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations] persistent().MarkIndependent(); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:563:3: note: 'MarkIndependent' has been explicitly marked deprecated here V8_DEPRECATED( ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:307:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:6: In file included from ../../../../nan/nan.h:2222: ../../../../nan/nan_object_wrap.h:124:26: error: no member named 'IsNearDeath' in 'Nan::Persistent >' assert(wrap->handle_.IsNearDeath()); ~~~~~~~~~~~~~ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert' (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) ^ ../fsevents.cc:50:32: error: no template named 'Handle' in namespace 'v8' static void Initialize(v8::Handle exports); ~~~~^ ../fsevents.cc:50:32: error: no template named 'Handle' in namespace 'v8' static void Initialize(v8::Handle exports); ~~~~^ In file included from ../fsevents.cc:84: ../src/constants.cc:89:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] In file included from ../fsevents.cc:84: ../src/constants.cc:89:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagNone\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagNone)); ^ object->Set(Nan::New(\"kFSEventStreamEventFlagNone\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagNone)); ^/Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3 : /Users/marlin/.node-gyp/12.2.0/include/node/v8.hnote: :'Set' has been explicitly marked deprecated here3358 :3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29:/Users/marlin/.node-gyp/12.2.0/include/node/v8config.h :note322:29: expanded from macro 'V8_DEPRECATE_SOON': note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) declarator __attribute__((deprecated(message))) ^ ^ In file included from ../fsevents.cc:84: ../src/constants.cc:90:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] In file included from ../fsevents.cc:84: ../src/constants.cc:90:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagMustScanSubDirs\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagMustScanSubDirs)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here object->Set(Nan::New(\"kFSEventStreamEventFlagMustScanSubDirs\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagMustScanSubDirs)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note V8_DEPRECATE_SOON(\"Use maybe version\", ^: 'Set' has been explicitly marked deprecated here /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29 V8_DEPRECATE_SOON(\"Use maybe version\",: note ^: expanded from macro 'V8_DEPRECATE_SOON' /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:91:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] In file included from ../fsevents.cc:84: ../src/constants.cc:91:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagUserDropped\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagUserDropped)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here object->Set(Nan::New(\"kFSEventStreamEventFlagUserDropped\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagUserDropped)); ^ V8_DEPRECATE_SOON(\"Use maybe version\",/Users/marlin/.node-gyp/12.2.0/include/node/v8.h : ^ 3358:/Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:3322:: 29note:: 'Set' has been explicitly marked deprecated here note: expanded from macro 'V8_DEPRECATE_SOON' V8_DEPRECATE_SOON(\"Use maybe version\", ^ declarator __attribute__((deprecated(message)))/Users/marlin/.node-gyp/12.2.0/include/node/v8config.h : ^322 :29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:92:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] In file included from ../fsevents.cc:84: ../src/constants.cc:92:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagKernelDropped\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagKernelDropped)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h: object->Set(Nan::New(\"kFSEventStreamEventFlagKernelDropped\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagKernelDropped)); ^ 322/Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358::3:29 note:: 'Set' has been explicitly marked deprecated here note: expanded from macro 'V8_DEPRECATE_SOON' V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:93:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] In file included from ../fsevents.cc:84: ../src/constants.cc:93:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagEventIdsWrapped\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagEventIdsWrapped)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here object->Set(Nan::New(\"kFSEventStreamEventFlagEventIdsWrapped\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagEventIdsWrapped)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h V8_DEPRECATE_SOON(\"Use maybe version\",: 3358 ^: 3: note: 'Set' has been explicitly marked deprecated here /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29 V8_DEPRECATE_SOON(\"Use maybe version\",: ^note : expanded from macro 'V8_DEPRECATE_SOON'/Users/marlin/.node-gyp/12.2.0/include/node/v8config.h :322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) declarator __attribute__((deprecated(message))) ^ ^ In file included from ../fsevents.cc:84: ../src/constants.cc:94:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] In file included from ../fsevents.cc:84: ../src/constants.cc:94:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagHistoryDone\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagHistoryDone)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: object->Set(Nan::New(\"kFSEventStreamEventFlagHistoryDone\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagHistoryDone)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.hnote: :expanded from macro 'V8_DEPRECATE_SOON' 3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", declarator __attribute__((deprecated(message))) ^ ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:95:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagRootChanged\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagRootChanged)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:In file included from 3:../fsevents.cc:84 note: 'Set' has been explicitly marked deprecated here: ../src/constants.cc:95:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ object->Set(Nan::New(\"kFSEventStreamEventFlagRootChanged\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagRootChanged)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:96:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagMount\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagMount)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:96:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] In file included from ../fsevents.cc:84: ../src/constants.cc:97:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagMount\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagMount)); object->Set(Nan::New(\"kFSEventStreamEventFlagUnmount\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagUnmount)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h ^: 3358/Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358::33:: note: 'Set' has been explicitly marked deprecated here note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ V8_DEPRECATE_SOON(\"Use maybe version\",/Users/marlin/.node-gyp/12.2.0/include/node/v8config.h : ^ 322:29: note/Users/marlin/.node-gyp/12.2.0/include/node/v8config.h: :expanded from macro 'V8_DEPRECATE_SOON'322:29 : note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ declarator __attribute__((deprecated(message))) ^ In file included from In file included from ../fsevents.cc../fsevents.cc::8484: : ../src/constants.cc:98:11: warning: ../src/constants.cc:'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] 97:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemCreated\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemCreated)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: object->Set(Nan::New(\"kFSEventStreamEventFlagUnmount\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagUnmount)); note ^: 'Set' has been explicitly marked deprecated here /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: V8_DEPRECATE_SOON(\"Use maybe version\", note: ^expanded from macro 'V8_DEPRECATE_SOON' /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:99:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] In file included from ../fsevents.cc:84: ../src/constants.cc:98:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemRemoved\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemRemoved)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' object->Set(Nan::New(\"kFSEventStreamEventFlagItemCreated\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemCreated)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h declarator __attribute__((deprecated(message))) :3358:3 ^ : note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:100:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemInodeMetaMod\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemInodeMetaMod)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: In file included from ../fsevents.cc:84expanded from macro 'V8_DEPRECATE_SOON': ../src/constants.cc:99:11: warning declarator __attribute__((deprecated(message))): 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] ^ object->Set(Nan::New(\"kFSEventStreamEventFlagItemRemoved\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemRemoved)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' In file included from ../fsevents.cc:84: ../src/constants.cc:101: declarator __attribute__((deprecated(message))) ^11 : warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemRenamed\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemRenamed)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:100:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] In file included from ../fsevents.cc:84: ../src/constants.cc:102:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemInodeMetaMod\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemInodeMetaMod)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h: object->Set(Nan::New(\"kFSEventStreamEventFlagItemModified\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemModified)); ^ 3358/Users/marlin/.node-gyp/12.2.0/include/node/v8.h::33583: :note3:: note'Set' has been explicitly marked deprecated here: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ V8_DEPRECATE_SOON(\"Use maybe version\",/Users/marlin/.node-gyp/12.2.0/include/node/v8config.h: ^ 322:/Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:29322:: note29:: note: expanded from macro 'V8_DEPRECATE_SOON'expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:103:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] In file included from ../fsevents.cc:84: ../src/constants.cc:101:11: object->Set(Nan::New(\"kFSEventStreamEventFlagItemFinderInfoMod\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemFinderInfoMod)); ^ warning/Users/marlin/.node-gyp/12.2.0/include/node/v8.h:: 3358:'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]3 : note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ object->Set(Nan::New(\"kFSEventStreamEventFlagItemRenamed\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemRenamed)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:104:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemChangeOwner\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemChangeOwner)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:102:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemModified\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemModified)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3:In file included from ../fsevents.cc: note: 84'Set' has been explicitly marked deprecated here : ../src/constants.cc:105:11: warning: V8_DEPRECATE_SOON(\"Use maybe version\",'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ object->Set(Nan::New(\"kFSEventStreamEventFlagItemXattrMod\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemXattrMod)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:103:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] In file included from ../fsevents.cc:84: ../src/constants.cc:106:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemFinderInfoMod\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemFinderInfoMod)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here object->Set(Nan::New(\"kFSEventStreamEventFlagItemIsFile\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemIsFile)); ^ V8_DEPRECATE_SOON(\"Use maybe version\",/Users/marlin/.node-gyp/12.2.0/include/node/v8.h : ^3358 :3: note: /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h'Set' has been explicitly marked deprecated here: 322:29: note: expanded from macro 'V8_DEPRECATE_SOON' V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322 declarator __attribute__((deprecated(message))) ^ :29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:104:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] In file included from ../fsevents.cc:84: ../src/constants.cc:107:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemChangeOwner\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemChangeOwner)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here object->Set(Nan::New(\"kFSEventStreamEventFlagItemIsDir\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemIsDir)); V8_DEPRECATE_SOON(\"Use maybe version\", ^ ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29:/Users/marlin/.node-gyp/12.2.0/include/node/v8.h: 3358note: :expanded from macro 'V8_DEPRECATE_SOON'3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ declarator __attribute__((deprecated(message))) /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h ^ :322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:105:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemXattrMod\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemXattrMod)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' In file included from declarator __attribute__((deprecated(message)))../fsevents.cc ^: 84: ../src/constants.cc:108:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemIsSymlink\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemIsSymlink)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:In file included from ../fsevents.cc:2984: note: : expanded from macro 'V8_DEPRECATE_SOON' ../src/constants.cc:106:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] declarator __attribute__((deprecated(message))) ^ object->Set(Nan::New(\"kFSEventStreamEventFlagItemIsFile\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemIsFile)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:107:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemIsDir\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemIsDir)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ In file included from ../fsevents.cc:84: ../src/constants.cc:108:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] object->Set(Nan::New(\"kFSEventStreamEventFlagItemIsSymlink\").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemIsSymlink)); ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here V8_DEPRECATE_SOON(\"Use maybe version\", ^ /Users/marlin/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ ../fsevents.cc:87:16: error: variable has incomplete type 'void' void FSEvents::Initialize(v8::Handle exports) { ^ ../fsevents.cc:87:16: error: variable has incomplete type 'void' void FSEvents::Initialize(v8::Handle exports) { ^ ../fsevents.cc:87:31: error: no member named 'Handle' in namespace 'v8' void FSEvents::Initialize(v8::Handle exports) { ~~~~^ ../fsevents.cc:87:48: error: expected '(' for function-style cast or type construction void FSEvents::Initialize(v8::Handle exports) { ~~~~~~~~~~^ ../fsevents.cc:87:31: error: no member named 'Handle' in namespace 'v8' void FSEvents::Initialize(v8::Handle exports) { ~~~~^ ../fsevents.cc:87:48: error: expected '(' for function-style cast or type construction void FSEvents::Initialize(v8::Handle exports) { ~~~~~~~~~~^ ../fsevents.cc:87:50: error: use of undeclared identifier 'exports' void FSEvents::Initialize(v8::Handle exports) { ^ ../fsevents.cc:87:58: error: expected ';' after top level declarator void FSEvents::Initialize(v8::Handle exports) { ^ ; ../fsevents.cc:87:50: error: use of undeclared identifier 'exports' void FSEvents::Initialize(v8::Handle exports) { ^ ../fsevents.cc:87:58: error: expected ';' after top level declarator void FSEvents::Initialize(v8::Handle exports) { ^ ; 33 warnings and 15 errors generated. 33 warnings and 15 errors generated. make: *** [Release/obj.target/fse/fsevents.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/Users/marlin/.config/yarn/global/node_modules/node-gyp/lib/build.js:258: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) make: gyp*** [Release/obj.target/fse/fsevents.o] Error 1 ERR! System Darwin 18.2.0 gyp ERR! command \"/Users/marlin/.nvm/versions/node/v12.2.0/bin/node\" \"/Users/marlin/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64\" gyp ERR! cwd /Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents gyp ERR! node -v v12.2.0 gyp ERR! node-gyp -v v3.6.3 gyp ERR! not ok gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/Users/marlin/.config/yarn/global/node_modules/node-gyp/lib/build.js:258: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 Darwin 18.2.0 gyp ERR! command \"/Users/marlin/.nvm/versions/node/v12.2.0/bin/node\" \"/Users/marlin/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64\" gyp ERR! cwd /Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents gyp ERR! node -v v12.2.0 gyp ERR! node-gyp -v v3.6.3 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/Users/marlin/.nvm/versions/node/v12.2.0/bin/node /Users/marlin/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64' (1) node-pre-gyp ERR! stack at ChildProcess. (/Users/marlin/.config/yarn/global/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:196:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1011:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:268:5) node-pre-gyp ERR! System Darwin 18.2.0 node-pre-gyp ERR! command \"/Users/marlin/.nvm/versions/node/v12.2.0/bin/node\" \"/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\" node-pre-gyp ERR! cwd /Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents node-pre-gyp ERR! node -v v12.2.0 node-pre-gyp ERR! node-pre-gyp -v v0.6.34 node-pre-gyp ERR! not ok Failed to execute '/Users/marlin/.nvm/versions/node/v12.2.0/bin/node /Users/marlin/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/marlin/.config/yarn/global/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64' (1)" info This module is OPTIONAL, you can safely ignore this error success Installed "typescript@3.4.5" with binaries: - tsc - tsserver Done in 13.29s. ```

python -v: Python 3.7.1 xcode-select -p: /Applications/Xcode.app/Contents/Developer

Just updated to Node 12.2 via NVM and then it started failing. I don't have any system wide installation of node. The only packages I added was yarn and then typescript via yarn global add typescript

msb217 commented 5 years ago

Please try setting your Python version to 2.7.X per the README

richardlau commented 5 years ago

The errors you're getting are due to the modules that you are attempting to install needing updates to work with Node.js 12.x. For example fsevents needs to be the latest version 1.2.9: https://github.com/fsevents/fsevents/releases/tag/v1.2.9