grunt-browserify isn't compatible with Node.js v12
ThisIsMissEm opened this issue · comments
This is because in its dependency chain is a version of fsevents that isn't compatible with Node.js v12, and it won't be made compatible.
The full chain is watchify@^3.6.1 -> chokidar@1.7.0 -> fsevents@1.2.4
And it results in a nasty and confusing install time error that looks like something went horribly wrong (because, yay, native modules). You can see an example of said error here: openpgpjs/openpgpjs#1054
I also note that this project hasn't received any updates since May 3, 2018; Are any further updates planned or is this project at end-of-life and should be marked as deprecated in the npm registry?
There's an open issue and PR for watchify to update over at browserify/watchify#374
I can install grunt-browserify
just fine with either Node 13 or Node 12 on MacOS. The install pulls in chokidar@2.1.8
and fsevents@1.2.12
, and the native module builds fine for me.
It seems that support for Node 12 was backported to fsevents 1.x in this commit and released as fsevents@1.2.10
. I suspect that the issue reported against opengpgjs
is caused by a stale lockfile. So, I think there is nothing to do here (or for watchify
for that matter). Please reopen if I am missing anything.
I also note that this project hasn't received any updates since May 3, 2018
I would wager that grunt
is all but dead as far as new projects are concerned, and I have moved my own projects to rollup and webpack since taking over maintainership for grunt-browserify
, so there will be no development of new features. However, I will still do bugfix releases (or required dependency updates).
@DirtyHairy hm, I'm still seeing the error in the logs, this is a fresh install, no node_modules folder after npm cache clean --force
> fsevents@1.1.2 install /Users/emelia/tmp/node_modules/fsevents
> node install
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v72-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.2 and node@12.16.1 (node-v72 ABI) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v72-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.2 and node@12.16.1 (node-v72 ABI) (falling back to source compile with node-gyp)
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:In file included from 192:
../fsevents.cc:6:
In file included from ../../nan/nan.h:192:
../../nan/nan_maybe_43_inl.h../../nan/nan_maybe_43_inl.h::112112::1515:: errorerror: : nono membermember namednamed 'ForceSet''ForceSet' inin
'v8::Object'
'v8::Object'
return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs); return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
~~~ ^ ~~~ ^
In file included from In file included from ../fsevents.cc../fsevents.cc::66:
:
In file included from In file included from ../../nan/nan.h../../nan/nan.h:197:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:22:1: :warning197: :
In file included from ../../nan/nan_converters.h'ToBoolean': 67is:
deprecated:../../nan/nan_converters_43_inl.h
: 22ToBoolean: 1can: never throw.warning : Use Local 'ToBoolean'version. is[-Wdeprecated-declarations] deprecated:
ToBoolean can never throw. X(Boolean)Use
Local^
version. [-Wdeprecated-declarations]
../../nan/nan_converters_43_inl.h:18:12X(Boolean):
^
note: expanded ../../nan/nan_converters_43_inl.hfrom: 18macro: 12'X':
note: expanded from macro 'X'
val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext()) \
^
val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext()) \<scratch space>
:11 ^:
1: note: expanded<scratch space> :from11 :here1:
note: expanded from here
ToBoolean
^
ToBoolean
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:2663:3: note:
'ToBoolean' has been explicitly marked deprecated here
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:2663:3: V8_DEPRECATED("ToBoolean can never throw. Use Local version.",
note ^:
'ToBoolean' has been explicitly/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h :marked328 :deprecated29 :here
note:
expanded from macro 'V8_DEPRECATED'
V8_DEPRECATED("ToBoolean can never throw. Use Local version.",
^
declarator __attribute__((deprecated(message)))
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328: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:197:
In file included from ../../nan/nan_converters.h:67:
../../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()); \
^
<scratch space>:18:1: note: expanded from here
BooleanValue
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:In file included from 2701../fsevents.cc::36::
In file included from ../../nan/nan.h:note197: :
In file included from
../../nan/nan_converters.h :'BooleanValue'67 :
has../../nan/nan_converters_43_inl.h :been40 :explicitly1 :marked deprecated warninghere:
'BooleanValue' is deprecated:
BooleanValue can never throw. Use Isolate V8_DEPRECATED("BooleanValue can never throw. Use Isolate version.",
version.
^
[-Wdeprecated-declarations]
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328X(bool, Boolean):
29:^
note: ../../nan/nan_converters_43_inl.h
: 37expanded: 15from: macro 'V8_DEPRECATED'note:
expanded from macro 'X'
declarator __attribute__((deprecated(message)))
^
return val->NAME ## Value(isolate->GetCurrentContext()); \
^
<scratch space>:18:1: note: expanded from here
BooleanValue
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:2701:3: note:
'BooleanValue' has been explicitly marked deprecated here
V8_DEPRECATED("BooleanValue can never throw. Use Isolate version.",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
In file included from In file included from ../fsevents.cc../fsevents.cc::66:
:
In file included from In file included from ../../nan/nan.h../../nan/nan.h::198198:
:
In file included from In file included from ../../nan/nan_new.h../../nan/nan_new.h::189189:
:
../../nan/nan_implementation_12_inl.h../../nan/nan_implementation_12_inl.h::103103::4242:: errorerror: : nono viableviable conversionconversion fromfrom
'v8::Isolate *''v8::Isolate *' toto 'Local<v8::Context>' 'Local<v8::Context>'
return scope.Escape(v8::Function::New( isolate return scope.Escape(v8::Function::New( isolate
^~~~~~~ ^~~~~~~
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:186:7: note:
candidate constructor/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h :(the implicit copy constructor)186 :not7 :viable: no noteknown:
conversion candidatefrom constructor'v8::Isolate *' (the implicit copy constructor)to not'const v8::Local<v8::Context> &' forviable:
no1st knownargument
conversion from 'v8::Isolate *' class Local {to
'const v8::Local<v8::Context> &' ^
for
1st argument
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:class Local {186
:7 ^:
note:
candidate constructor (the implicit move constructor) not/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h :viable:186 :no7 :known
conversionnote : from
'v8::Isolate *' candidateto constructor'v8::Local<v8::Context> &&' (the implicit move constructor)for not1st
viable: argumentno
known
conversion from 'v8::Isolate *' to 'v8::Local<v8::Context> &&' for 1st
argument
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:190:13: note:
candidate template ignored: /Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.hcould: 190not: 13match: 'Local<type-parameter-0-0>'
noteagainst: 'v8::Isolate *'
candidate template ignored: could not match V8_INLINE Local(Local<S> that)
'Local<type-parameter-0-0>'
^
against 'v8::Isolate *'
V8_INLINE Local(Local<S> that)
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:4276:/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h22::4276 :22:note :
note : passing
argument passingto argumentparameter to'context' parameterhere 'context'
here
Local<Context> context, FunctionCallback callback,
Local<Context> context, FunctionCallback callback, ^
^
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:In file included from ../fsevents.cc:error6: :
In file included from ../../nan/nan.htoo: 198few:
In file included from arguments../../nan/nan_new.h :to189
:
function../../nan/nan_implementation_12_inl.h :call,337 :expected37 :2, have error1:
too few arguments to
function call, expected 2, have 1
return v8::StringObject::New(value).As<v8::StringObject>();
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:5531:3: return v8::StringObject::New(value).As<v8::StringObject>();
note ~~~~~~~~~~~~~~~~~~~~~ ^:
'New' declared here
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:5531:3: note:
'New' declared here
static Local<Value> New(Isolate* isolate, Local<String> value);
^
static Local<Value> New(Isolate* isolate, Local<String> value);
^
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/emelia/Library/Caches/node-gyp/12.16.1/include/node/node.h:173:1: note:
'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/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:834:18: warning: 'MakeCallback' is deprecated: Use
MakeCallback(..., async_context) [-Wdeprecated-declarations]
return node::MakeCallback(
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/node.h:173:1In file included from :../fsevents.cc :6:
note: ../../nan/nan.h:849
: 18'MakeCallback': has beenwarning : explicitly marked'MakeCallback' deprecatedis heredeprecated:
Use
MakeCallback(..., async_context) [-Wdeprecated-declarations]
return node::MakeCallback(
^
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/node.h^:
166:1: note:
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/node.h :'MakeCallback'93 :has20 :been explicitly notemarked: deprecated
hereexpanded
from macro 'NODE_DEPRECATED'
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/node.h:93:20: __attribute__((deprecated(message))) declarator
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/emelia/Library/Caches/node-gyp/12.16.1/include/node/node.h:159:1: note:
'MakeCallback' has been explicitly marked In file included from deprecated../fsevents.cc :here6:
../../nan/nan.h:849:18: warning: NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
'MakeCallback' is deprecated:/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/node.h :Use93
: 20MakeCallback(...,: async_context) [-Wdeprecated-declarations]note:
expanded from macro 'NODE_DEPRECATED'
return node::MakeCallback(
^
__attribute__((deprecated(message))) declarator
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/node.h:166:1: note:
'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/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/emelia/Library/Caches/node-gyp/12.16.1/include/node/node.h:159:1: note:
'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/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<v8::String> string = from->ToString();
~~~~~~^~~~~~~~
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:2668:44: note:
candidate function not viable: requires single argument 'context', but no
arguments were provided
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:2684:31: note:
candidate function not viable: requires single argument 'isolate', but no
arguments were provided
Local<String> 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 *'
In file included from length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
../fsevents.cc: ^~~~6
:
../../nan/nan.h:911:/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h44::2878 :26:error : note: no
matching passingmember argumentfunction tofor parametercall 'isolate'to
here 'ToString'
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^
v8::Local<v8::String> string = from->ToString();
~~~~~~^~~~~~~~
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:2668:44: note:
candidate function not viable: requires single argument 'context', but no
arguments were provided
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:2684:31: note:
candidate function not viable: requires single argument 'isolate', but no
arguments were provided
Local<String> 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<int>(len), 0, flags);
^~~~
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:2878: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/emelia/Library/Caches/node-gyp/12.16.1/include/node/node.h:173:1: note:
'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/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
In file included from [-Wdeprecated-declarations]../fsevents.cc
:6:
../../nan/nan.h:1473:31: warning: 'MakeCallback' is New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
deprecated: ^Use
MakeCallback(..., async_context) [-Wdeprecated-declarations]
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' return scope.Escape(node::MakeCallback(
has ^been
explicitly marked deprecated here/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/node.h
:173:1: note: V8_DEPRECATED("Use maybe version",
'MakeCallback' ^
has been explicitly marked deprecated here/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:
328:29: note:
expanded from macroNODE_DEPRECATED("Use MakeCallback(..., async_context)",
'V8_DEPRECATED'^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/node.h:93:20: declarator __attribute__((deprecated(message)))
note: ^
expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
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/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3507:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1533:28: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]In file included from
../fsevents.cc:6:
../../nan/nan.h:1551:32: warning New(persistentHandle)->Set(New(key).ToLocalChecked(), value);:
^
'Get' is deprecated: Use/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h :maybe3498 :version3:
[-Wdeprecated-declarations]note
:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
New(persistentHandle)->Get(New(key).ToLocalChecked())); ^
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h29::3553 :3:note :
note : expanded
from 'Get'macro has'V8_DEPRECATED' been
explicitly marked deprecated here
declarator __attribute__((deprecated(message)))
^
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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]In file included from ../fsevents.cc
:6:
../../nan/nan.h:1545:28: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(key));
^
New(persistentHandle)->Set(index, value);
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3553:3/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:: 3507:3note::
note : 'Get'
has 'Set'been hasexplicitly beenmarked explicitlydeprecated markedhere deprecated
here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note: V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
expanded ^from
macro 'V8_DEPRECATED'
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: declarator __attribute__((deprecated(message)))
^note
:
expanded from macro 'V8_DEPRECATED'
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/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3553:3: note:
'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.hIn file included from :328../fsevents.cc::296::
../../nan/nan.hnote:: 1562:
48 :expanded from warningmacro: 'V8_DEPRECATED'
'Get' is deprecated: Use maybe declarator __attribute__((deprecated(message)))version
^[-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(index));
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3557:3: note:
'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
In file included from ../fsevents.cc ^:
6:
../../nan/nan.h:1557:48: /Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:warning328: :29:'Get' is notedeprecated:: Use
maybeexpanded versionfrom
macro[-Wdeprecated-declarations] 'V8_DEPRECATED'
return scope.Escape(New(persistentHandle)->Get(key));
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3553 declarator __attribute__((deprecated(message))):
3: ^
note:
'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3557:3: note:
'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
In file included from In file included from ../fsevents.cc../fsevents.cc::66:
:
In file included from In file included from ../../nan/nan.h../../nan/nan.h::22222222:
:
../../nan/nan_object_wrap.h../../nan/nan_object_wrap.h::2424::2525:: error: error: no nomember membernamed named'IsNearDeath' 'IsNearDeath'in in
'Nan::Persistent<v8::Object, 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<v8::Object>
v8::NonCopyablePersistentTraits<v8::Object>
>' >'
assert(persistent().IsNearDeath());
~~~~~~~~~~~~ ^
assert(persistent().IsNearDeath());
~~~~~~~~~~~~ ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note:
expanded from macro 'assert'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note:
expanded from macro 'assert' (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
^
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
^
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:
WeakIn file included from ../fsevents.ccobjects: 6are:
In file included from always../../nan/nan.h :considered2222 :
independent. ../../nan/nan_object_wrap.hUse: 67TracedGlobal: 18when:
trying warningto: use 'MarkIndependent'EmbedderHeapTracer. isUse deprecated:a
strongWeak handleobjects whenare tryingalways toconsidered keepindependent.
Usean TracedGlobalobject whenalive.
[-Wdeprecated-declarations]trying
to use EmbedderHeapTracer. Use a strong handle persistent().MarkIndependent();when
trying ^
to keep
an object /Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.halive.: 566[-Wdeprecated-declarations]:3
: note:
'MarkIndependent' has persistent().MarkIndependent();been
explicitly ^
marked deprecated here
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:566: V8_DEPRECATED(3
: ^
note:
'MarkIndependent' /Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.hhas: 328been: 29explicitly :marked deprecated here
V8_DEPRECATED(
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))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<v8::Object, v8::NonCopyablePersistentTraits<v8::Object>
>'
assert(wrap->handle_.IsNearDeath());
~~~~~~~~~~~~~ ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note:
expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
^
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<v8::Object, v8::NonCopyablePersistentTraits<v8::Object>
>'
assert(wrap->handle_.IsNearDeath());
~~~~~~~~~~~~~ ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note:
expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
^
../fsevents.cc:50:32: error: no template named 'Handle' in namespace 'v8'
static void Initialize(v8::Handle<v8::Object> exports);
~~~~^
../fsevents.cc:50:32: error: no template named 'Handle' in namespace 'v8'
static void Initialize(v8::Handle<v8::Object> exports);
~~~~^
In file included from In file included from ../fsevents.cc../fsevents.cc::8484:
:
../src/constants.cc../src/constants.cc::8989::1111:: warningwarning: : 'Set''Set' isis deprecated:deprecated: UseUse maybemaybe versionversion
[-Wdeprecated-declarations][-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagNone").ToLoca... object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagNone").ToLoca...
^ ^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h::34983498::33:: notenote: :
'Set''Set' hashas beenbeen explicitlyexplicitly markedmarked deprecateddeprecated herehere
V8_DEPRECATED("Use maybe version",
^
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29:/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h :328:note29: :
expandednote : from
macro expanded'V8_DEPRECATED' from
macro 'V8_DEPRECATED'
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]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagMustScanSubDi...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
In file included from ../fsevents.cc'Set' :has84 :
been explicitly marked deprecated here
../src/constants.cc:90:11 V8_DEPRECATED("Use maybe version",:
^
warning: 'Set' /Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.his: 328deprecated:: 29Use: maybe versionnote:
[-Wdeprecated-declarations] expanded
from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagMustScanSubDi...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagUserDropped")...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagUserDropped")...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagKernelDropped...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagKernelDropped...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
In file included from ../fsevents.cc: declarator __attribute__((deprecated(message)))84
:
^../src/constants.cc
:93:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagEventIdsWrapp...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagEventIdsWrapp...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
In file included from ../fsevents.cc:84:
../src/constants.cc:94:11: declarator __attribute__((deprecated(message)))
warning ^:
'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagHistoryDone")...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagHistoryDone")...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'In file included from ../fsevents.cc
:84:
../src/constants.cc:95:11: warning: 'Set' is deprecated: Use maybe declarator __attribute__((deprecated(message)))
version
^
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagRootChanged")...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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<v8::String>("kFSEventStreamEventFlagRootChanged")...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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<v8::String>("kFSEventStreamEventFlagMount").ToLoc...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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: object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagMount").ToLoc...
^warning
: 'Set' is deprecated: Use maybe version
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h[-Wdeprecated-declarations]:3498
:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29 object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagUnmount").ToL...:
^note
:
expanded from macro/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h :'V8_DEPRECATED'3498:
3: note:
'Set' has been declarator __attribute__((deprecated(message)))explicitly
marked ^
deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
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<v8::String>("kFSEventStreamEventFlagUnmount").ToL...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has beenIn file included from ../fsevents.ccexplicitly: 84marked:
deprecated../src/constants.cc :here98:
11: warning: 'Set' V8_DEPRECATED("Use maybe version",is
deprecated: ^
Use maybe version
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h[-Wdeprecated-declarations]:328
:29: note:
expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemCreated")...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
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<v8::String>("kFSEventStreamEventFlagItemCreated")...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecatedIn file included from ../fsevents.cchere:84
:
../src/constants.cc:99:11: V8_DEPRECATED("Use maybe version",warning
: ^
'Set' is deprecated: Use/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h :maybe328 :version29
: [-Wdeprecated-declarations]
note:
expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemRemoved")...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemRemoved")...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has In file included from been../fsevents.cc :explicitly84 :
marked ../src/constants.ccdeprecated: 100here:11
: warning: 'Set' is deprecated: Use maybe version V8_DEPRECATED("Use maybe version",
[-Wdeprecated-declarations] ^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemInodeMeta...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h declarator __attribute__((deprecated(message))):
3498: ^3
: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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:101:11: warning: 'Set' is deprecated: Use maybe version object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemInodeMeta...
[-Wdeprecated-declarations] ^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemRenamed")...
^
V8_DEPRECATED("Use maybe version",
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h ^:
3498:3: /Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.hnote:: 328:
29 :'Set' has notebeen: explicitly
markedexpanded deprecatedfrom heremacro
'V8_DEPRECATED'
V8_DEPRECATED("Use maybe version",
^
declarator __attribute__((deprecated(message)))
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:84:
../src/constants.cc:101:11: warning: 'Set' is deprecated: Use maybeIn file included from ../fsevents.ccversion:
84 :
[-Wdeprecated-declarations]../src/constants.cc
:102:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemRenamed")...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemModified"...been
explicitly ^
marked deprecated here/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:
3498:3: note: V8_DEPRECATED("Use maybe version",
'Set' ^
has been explicitly marked/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h :deprecated328 :here29:
note:
expanded from V8_DEPRECATED("Use maybe version",
macro ^'V8_DEPRECATED'
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note declarator __attribute__((deprecated(message))):
^
expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:84:
../src/constants.cc:102:11: warning: In file included from 'Set'../fsevents.cc :is84 :
deprecated: ../src/constants.ccUse: 103maybe: 11version:
[-Wdeprecated-declarations]warning
: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemModified"...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note: object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemFinderInf...
^'Set'
has been explicitly/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h :marked3498 :deprecated3 :here
note:
'Set' has been V8_DEPRECATED("Use maybe version",
explicitly ^marked
deprecated here
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note: V8_DEPRECATED("Use maybe version",
expanded ^
from macro 'V8_DEPRECATED'/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h
:328:29: note:
expanded declarator __attribute__((deprecated(message)))
from ^macro
'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
In file included from In file included from ../fsevents.cc../fsevents.cc::8484:
:
../src/constants.cc../src/constants.cc::103104::1111:: warningwarning: : 'Set''Set' isis deprecated:deprecated: UseUse maybemaybe versionversion
[-Wdeprecated-declarations][-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemChangeOwn... object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemFinderInf...
^ ^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h::34983498::33:: notenote: :
'Set''Set' hashas beenbeen explicitlyexplicitly markedmarked deprecateddeprecated herehere
V8_DEPRECATED("Use maybe version", V8_DEPRECATED("Use maybe version",
^ ^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h::328328::2929:: notenote: :
expandedexpanded fromfrom macromacro 'V8_DEPRECATED''V8_DEPRECATED'
declarator __attribute__((deprecated(message))) declarator __attribute__((deprecated(message)))
^ ^
In file included from ../fsevents.cc:In file included from 84../fsevents.cc:
:84../src/constants.cc:
:105:../src/constants.cc11::104 :11:warning : warning'Set': is 'Set'deprecated: isUse deprecated:maybe Useversion
maybe [-Wdeprecated-declarations]version
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemXattrMod"...
^ object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemChangeOwn...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h3::3498 :3:note :
note : 'Set'
has 'Set'been hasexplicitly beenmarked explicitlydeprecated markedhere deprecated
here
V8_DEPRECATED("Use maybe version",
^
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29:/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h :328:note29: :
expandednote : from
macro expanded'V8_DEPRECATED' from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.ccIn file included from :../fsevents.cc84::
84:
../src/constants.cc:../src/constants.cc106::10511:: 11: warning: warning: 'Set' is'Set' deprecated:is Usedeprecated: maybeUse versionmaybe
version[-Wdeprecated-declarations]
[-Wdeprecated-declarations]
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsFile")....
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemXattrMod"... ^
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h3::3498 :3:note :
note : 'Set'
has 'Set'been hasexplicitly beenmarked explicitlydeprecated markedhere deprecated
here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328 V8_DEPRECATED("Use maybe version",:
29: ^
note:
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.hexpanded: 328from: 29macro: 'V8_DEPRECATED'
note:
expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
declarator __attribute__((deprecated(message)))
^
In file included from ../fsevents.cc:84:
../src/constants.cc:106:11: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
In file included from ../fsevents.cc:84:
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsFile")....
../src/constants.cc: ^107
:11: warning: /Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498'Set': 3is: deprecated: Use maybenote : version
[-Wdeprecated-declarations]'Set'
has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328: object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsDir").T...29
: ^
note:
expanded from/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h :macro3498 :'V8_DEPRECATED'3:
note:
'Set' has been explicitly declarator __attribute__((deprecated(message)))
marked ^deprecated
here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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<v8::String>("kFSEventStreamEventFlagItemIsDir").T...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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<v8::String>("kFSEventStreamEventFlagItemIsSymlink...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
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<v8::String>("kFSEventStreamEventFlagItemIsSymlink...
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8.h:3498:3: note:
'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/emelia/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note:
expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../fsevents.cc:87:16: error: variable has incomplete type 'void'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
^
../fsevents.cc:87:16: error: variable has incomplete type 'void'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
^
../fsevents.cc:87:31: error: no member named 'Handle' in namespace 'v8'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
~~~~^
../fsevents.cc:87:31: error: no member named 'Handle' in namespace 'v8'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
~~~~^
../fsevents.cc../fsevents.cc::8787::4848:: errorerror: : expectedexpected '(' for'(' for function-stylefunction-style castcast oror typetype
constructionconstruction
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
~~~~~~~~~~^ ~~~~~~~~~~^
../fsevents.cc../fsevents.cc::8787::5050:: errorerror: : useuse ofof undeclaredundeclared identifieridentifier 'exports''exports'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
^ ^
../fsevents.cc:87:58: error: expected ';' after../fsevents.cc :top87 :level58 :declarator
error: expected ';' after top level declarator
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
^
;
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
^
;
33 warnings and 33 warnings and 13 error13s error generateds.
generated.
make: make: *** [Release/obj.target/fse/fsevents.o] Error 1*** [Release/obj.target/fse/fsevents.o] Error 1
gypgyp ERR!ERR! build errorbuild error
gypgyp ERR!ERR! stackstack Error: `make` failed with exit code: 2
Error: `make` failed with exit code: 2
gypgyp ERR!ERR! stack at ChildProcess.onExit (/Users/emelia/.nvm/versions/node/v12.16.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
stackgyp at ChildProcess.onExit (/Users/emelia/.nvm/versions/node/v12.16.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
ERR!gyp stack at ChildProcess.emit (events.js:311:20)
gypERR! ERR! stackstack at ChildProcess.emit (events.js:311:20)
at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! Systemgyp Darwin 19.4.0
ERR! System Darwin 19.4.0
gyp ERR! command "/Users/emelia/.nvm/versions/node/v12.16.1/bin/node" "/Users/emelia/.nvm/versions/node/v12.16.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/emelia/tmp/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/emelia/tmp/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64"
gyp gypERR! commandERR! "/Users/emelia/.nvm/versions/node/v12.16.1/bin/node" "/Users/emelia/.nvm/versions/node/v12.16.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/emelia/tmp/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/emelia/tmp/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64"
cwd /Users/emelia/tmp/node_modules/fsevents
gyp gypERR! ERR! cwdnode -v /Users/emelia/tmp/node_modules/fsevents
v12.16.1
gypgyp ERR!ERR! node -vnode-gyp -v v12.16.1
v5.1.0
gyp gyp ERR!ERR! node-gyp -vnot ok v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/Users/emelia/.nvm/versions/node/v12.16.1/bin/node /Users/emelia/.nvm/versions/node/v12.16.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/emelia/tmp/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/emelia/tmp/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/emelia/tmp/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:311:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Darwin 19.4.0
node-pre-gyp ERR! command "/Users/emelia/.nvm/versions/node/v12.16.1/bin/node" "/Users/emelia/tmp/node_modules/fsevents/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/emelia/tmp/node_modules/fsevents
node-pre-gyp ERR! node -v v12.16.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok
Failed to execute '/Users/emelia/.nvm/versions/node/v12.16.1/bin/node /Users/emelia/.nvm/versions/node/v12.16.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/emelia/tmp/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/emelia/tmp/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64' (1)
> fsevents@1.2.12 install /Users/emelia/tmp/node_modules/watchify/node_modules/fsevents
> node-gyp rebuild
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
> bignum@0.13.1 install /Users/emelia/tmp/node_modules/bignum
> node-gyp rebuild
CXX(target) Release/obj.target/bignum/bignum.o
SOLINK_MODULE(target) Release/bignum.node
npm WARN tmp-2227@0.0.0 No description
npm WARN tmp-2227@0.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 install: `node install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ grunt-browserify@5.3.0
added 541 packages from 310 contributors and audited 11613 packages in 28.766s
2 packages are looking for funding
run `npm fund` for details
found 539 vulnerabilities (184 low, 6 moderate, 349 high)
run `npm audit fix` to fix them, or `npm audit` for details```
</details>
Ah-ha, got it: according to this comment opengpgjs
shipped with a shrinkwrapper. If you still get issues with Node 12 and fsevents
after the shrinkwrapper was removed, then I guess that you have your own lockfile in your project. Check whether you have a package-lock.json
, yarn-lock.json
(if you are using yarn) or npm-shrinkwrap.json
, delete them together with your node_modules
folder and reinstall the dependencies; the error should be gone. If it isn't, then something else must be pulling in an incompatible version of fsevents
.
aha! It appears that the directory I'd been testing in had a package-lock.json
file, which I didn't realise; removing that now gives:
npm install grunt-browserify@5.3.0
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
> fsevents@1.2.12 install /Users/emelia/tmp/node_modules/fsevents
> node-gyp rebuild
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
npm WARN saveError ENOENT: no such file or directory, open '/Users/emelia/tmp/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/emelia/tmp/package.json'
npm WARN tmp No description
npm WARN tmp No repository field.
npm WARN tmp No README data
npm WARN tmp No license field.
+ grunt-browserify@5.3.0
added 338 packages from 208 contributors and audited 4935 packages in 15.697s
2 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities