Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

前端 npm install 失败 #38

Open
godzeo opened this issue Jan 27, 2021 · 0 comments
Open

前端 npm install 失败 #38

godzeo opened this issue Jan 27, 2021 · 0 comments

Comments

@godzeo
Copy link

godzeo commented Jan 27, 2021

npm install --registry=https://registry.npm.taobao.org
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.

> fsevents@1.2.4 install /Users/zy/Desktop/reference/rest_xops/xops_qd/node_modules/vue-native-websocket/node_modules/fsevents
> node install

node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v72-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for fsevents@1.2.4 and node@12.16.2 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:221:
In file included from ../../nan/nan_converters.h:67:
../../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(isolate->GetCurrentContext())                            \
           ^
<scratch space>:39:1: note: expanded from here
ToBoolean
^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:2663:3: note:
      'ToBoolean' has been explicitly marked deprecated here
  V8_DEPRECATED("ToBoolean can never throw. Use Local version.",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/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:221:
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>:46:1: note: expanded from here
BooleanValue
^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:2701:3: note:
      'BooleanValue' has been explicitly marked deprecated here
  V8_DEPRECATED("BooleanValue can never throw. Use Isolate version.",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/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:222:
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<v8::Context>'
  return scope.Escape(v8::Function::New( isolate
                                         ^~~~~~~
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:186:7: note:
      candidate constructor (the implicit copy constructor) not viable: no known
      conversion from 'v8::Isolate *' to 'const v8::Local<v8::Context> &' for
      1st argument
class Local {
      ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:186:7: note:
      candidate constructor (the implicit move constructor) not viable: no known
      conversion from 'v8::Isolate *' to 'v8::Local<v8::Context> &&' for 1st
      argument
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:190:13: note:
      candidate template ignored: could not match 'Local<type-parameter-0-0>'
      against 'v8::Isolate *'
  V8_INLINE Local(Local<S> that)
            ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:4276:22: note:
      passing argument to parameter 'context' here
      Local<Context> context, FunctionCallback callback,
                     ^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:222:
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<v8::StringObject>();
         ~~~~~~~~~~~~~~~~~~~~~      ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:5531:3: note: 'New'
      declared here
  static Local<Value> New(Isolate* isolate, Local<String> value);
  ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1063:44: error: no matching member function for call to
      'ToString'
      v8::Local<v8::String> string = from->ToString();
                                     ~~~~~~^~~~~~~~
/Users/zy/Library/Caches/node-gyp/12.16.2/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/zy/Library/Caches/node-gyp/12.16.2/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:1073: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/zy/Library/Caches/node-gyp/12.16.2/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:1847:28: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
    New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                           ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/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:1853:28: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
    New(persistentHandle)->Set(key, value);
                           ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/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:1859:28: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
    New(persistentHandle)->Set(index, value);
                           ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3507:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/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:1865:32: warning: 'Get' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
        New(persistentHandle)->Get(New(key).ToLocalChecked()));
                               ^
/Users/zy/Library/Caches/node-gyp/12.16.2/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/zy/Library/Caches/node-gyp/12.16.2/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:1871:48: warning: 'Get' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
    return scope.Escape(New(persistentHandle)->Get(key));
                                               ^
/Users/zy/Library/Caches/node-gyp/12.16.2/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/zy/Library/Caches/node-gyp/12.16.2/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:1876:48: warning: 'Get' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
    return scope.Escape(New(persistentHandle)->Get(index));
                                               ^
/Users/zy/Library/Caches/node-gyp/12.16.2/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/zy/Library/Caches/node-gyp/12.16.2/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:2690:
../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in
      'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object>
      >'
    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'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
                        ^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2690:
../../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/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:566:3: note:
      'MarkIndependent' has been explicitly marked deprecated here
  V8_DEPRECATED(
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/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:2690:
../../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:63:6: warning: field 'async_resource' will be initialized after
      field 'lockStarted' [-Wreorder-ctor]
   : async_resource("fsevents:FSEvents"), lockStarted(false) {
     ^
In file included from ../fsevents.cc:82:
../src/constants.cc:89:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagNone").ToLoca...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:90:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagMustScanSubDi...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:91:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagUserDropped")...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:92:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagKernelDropped...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:93:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagEventIdsWrapp...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:94:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagHistoryDone")...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:95:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagRootChanged")...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:96:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagMount").ToLoc...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:97:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagUnmount").ToL...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:98:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemCreated")...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:99:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemRemoved")...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:100:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemInodeMeta...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:101:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemRenamed")...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:102:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemModified"...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:103:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemFinderInf...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:104:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemChangeOwn...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:105:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemXattrMod"...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:106:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsFile")....
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:107:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsDir").T...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:82:
../src/constants.cc:108:11: warning: 'Set' is deprecated: Use maybe version
      [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsSymlink...
          ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8.h:3498:3: note: 'Set'
      has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/zy/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note:
      expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
../fsevents.cc:85:16: error: variable has incomplete type 'void'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
               ^
../fsevents.cc:85:31: error: no member named 'Handle' in namespace 'v8'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                          ~~~~^
../fsevents.cc:85:48: error: expected '(' for function-style cast or type
      construction
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                                     ~~~~~~~~~~^
../fsevents.cc:85:50: error: use of undeclared identifier 'exports'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                                                 ^
../fsevents.cc:85:58: error: expected ';' after top level declarator
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                                                         ^
                                                         ;
30 warnings and 12 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 (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 20.2.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/zy/Desktop/reference/rest_xops/xops_qd/node_modules/vue-native-websocket/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/zy/Desktop/reference/rest_xops/xops_qd/node_modules/vue-native-websocket/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64" "--napi_version=5" "--node_abi_napi=napi"
gyp ERR! cwd /Users/zy/Desktop/reference/rest_xops/xops_qd/node_modules/vue-native-websocket/node_modules/fsevents
gyp ERR! node -v v12.16.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/zy/Desktop/reference/rest_xops/xops_qd/node_modules/vue-native-websocket/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/zy/Desktop/reference/rest_xops/xops_qd/node_modules/vue-native-websocket/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64 --napi_version=5 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/zy/Desktop/reference/rest_xops/xops_qd/node_modules/vue-native-websocket/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:310: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 20.2.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/zy/Desktop/reference/rest_xops/xops_qd/node_modules/vue-native-websocket/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/zy/Desktop/reference/rest_xops/xops_qd/node_modules/vue-native-websocket/node_modules/fsevents
node-pre-gyp ERR! node -v v12.16.2
node-pre-gyp ERR! node-pre-gyp -v v0.10.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/zy/Desktop/reference/rest_xops/xops_qd/node_modules/vue-native-websocket/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/zy/Desktop/reference/rest_xops/xops_qd/node_modules/vue-native-websocket/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64 --napi_version=5 --node_abi_napi=napi' (1)

> fsevents@1.2.13 install /Users/zy/Desktop/reference/rest_xops/xops_qd/node_modules/webpack-dev-server/node_modules/fsevents
> node install.js

  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node
npm WARN script-ext-html-webpack-plugin@2.0.1 requires a peer of html-webpack-plugin@^3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN xops-qt@1.2.0 No repository field.
npm WARN xops-qt@1.2.0 license should be a valid SPDX license expression
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/vue-native-websocket/node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 install: `node install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

added 12 packages from 5 contributors, removed 6 packages and updated 92 packages in 21.657s

40 packages are looking for funding
  run `npm fund` for details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant