MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Upgrade Problem on Mac


  • Project Sponsor

    Hi, @sdetweil i have used you install script but I have an error…

    patrickhahn@Mac-mini ~ % bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
    apply: line 40: greadlink: command not found
    usage: dirname path
    the log will be /Users/patrickhahn/MagicMirror/installers/upgrade.log
    doing test run = false
    update log will be in /Users/patrickhahn/MagicMirror/installers/upgrade.log
    
    saving custom.css
    upgrading from version 2.11.0 to 2.12.0
    fetching latest revisions
    remote: Enumerating objects: 15023, done.
    remote: Counting objects: 100% (15023/15023), done.
    remote: Compressing objects: 100% (5704/5704), done.
    remote: Total 14778 (delta 9068), reused 14466 (delta 8767), pack-reused 0
    Receiving objects: 100% (14778/14778), 14.44 MiB | 5.67 MiB/s, done.
    Resolving deltas: 100% (9068/9068), completed with 182 local objects.
    From https://github.com/MichMich/MagicMirror
       447c0bf..018cb91  master     -> origin/master
     * [new tag]         v2.12.0    -> v2.12.0
     * [new tag]         V2.2.1     -> V2.2.1
     * [new tag]         v.2.1.3    -> v.2.1.3
     * [new tag]         v2.0.0     -> v2.0.0
     * [new tag]         v2.0.1     -> v2.0.1
     * [new tag]         v2.0.2     -> v2.0.2
     * [new tag]         v2.0.3     -> v2.0.3
     * [new tag]         v2.0.4     -> v2.0.4
     * [new tag]         v2.0.5     -> v2.0.5
     * [new tag]         v2.1.0     -> v2.1.0
     * [new tag]         v2.1.1     -> v2.1.1
     * [new tag]         v2.1.2     -> v2.1.2
     * [new tag]         v2.10.0    -> v2.10.0
     * [new tag]         v2.10.1    -> v2.10.1
     * [new tag]         v2.2.0     -> v2.2.0
     * [new tag]         v2.2.2     -> v2.2.2
     * [new tag]         v2.3.0     -> v2.3.0
     * [new tag]         v2.3.1     -> v2.3.1
     * [new tag]         v2.4.0     -> v2.4.0
     * [new tag]         v2.4.1     -> v2.4.1
     * [new tag]         v2.5.0     -> v2.5.0
     * [new tag]         v2.6.0     -> v2.6.0
     * [new tag]         v2.7.0     -> v2.7.0
     * [new tag]         v2.7.1     -> v2.7.1
     * [new tag]         v2.8.0     -> v2.8.0
     * [new tag]         v2.9.0     -> v2.9.0
    there are 5 local files that are different than the master repo
    
       installers/mm.sh
       js/socketclient.js
       package-lock.json
       package.json
       vendor/package-lock.json
    
    any *-lock.json files do not need to be saved
    do you want to save these files for later   (Y/n)?y
    updating MagicMirror runtime, please wait
    
    > electron@6.1.7 postinstall /Users/patrickhahn/MagicMirror/node_modules/electron
    > node install.js
    
    
    > magicmirror@2.12.0 install /Users/patrickhahn/MagicMirror
    > echo "Installing vendor files ...
    " && cd vendor && npm install --loglevel=error
    
    Installing vendor files ...
    
    
    > fsevents@1.2.4 install /Users/patrickhahn/MagicMirror/vendor/node_modules/fsevents
    > node install
    
      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:222:
    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())                            \
               ^
    :207:1: note: expanded from here
    ToBoolean
    ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:2663:3: note: 'ToBoolean' has been explicitly marked deprecated here
      V8_DEPRECATED("ToBoolean can never throw. Use Local version.",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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_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());                     \
                  ^
    :214:1: note: expanded from here
    BooleanValue
    ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:2701:3: note: 'BooleanValue' has been explicitly marked deprecated here
      V8_DEPRECATED("BooleanValue can never throw. Use Isolate version.",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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:223:
    In file included from ../../nan/nan_new.h:189:
    ../../nan/nan_implementation_12_inl.h:356:37: error: too few arguments to function call, expected 2, have 1
      return v8::StringObject::New(value).As();
             ~~~~~~~~~~~~~~~~~~~~~      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:5531: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:2722:
    ../../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/MacOSX.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:2722:
    ../../nan/nan_object_wrap.h:127:26: error: no member named 'IsNearDeath' in 'Nan::Persistent >'
        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__, #e) : (void)0)
                            ^
    ../fsevents.cc:50:32: error: no template named 'Handle' in namespace 'v8'
        static void Initialize(v8::Handle exports);
                               ~~~~^
    ../fsevents.cc:63:6: warning: field 'async_resource' will be initialized after field 'lockStarted' [-Wreorder]
       : 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("kFSEventStreamEventFlagNone").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagNone));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagMustScanSubDirs").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagMustScanSubDirs));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagUserDropped").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagUserDropped));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagKernelDropped").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagKernelDropped));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagEventIdsWrapped").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagEventIdsWrapped));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagHistoryDone").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagHistoryDone));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagRootChanged").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagRootChanged));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagMount").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagMount));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagUnmount").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagUnmount));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagItemCreated").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemCreated));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagItemRemoved").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemRemoved));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagItemInodeMetaMod").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemInodeMetaMod));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagItemRenamed").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemRenamed));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagItemModified").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemModified));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagItemFinderInfoMod").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemFinderInfoMod));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagItemChangeOwner").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemChangeOwner));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagItemXattrMod").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemXattrMod));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagItemIsFile").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemIsFile));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagItemIsDir").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemIsDir));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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("kFSEventStreamEventFlagItemIsSymlink").ToLocalChecked(), Nan::New(kFSEventStreamEventFlagItemIsSymlink));
              ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
      V8_DEPRECATED("Use maybe version",
      ^
    /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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 exports) {
                   ^
    ../fsevents.cc:85:31: error: no member named 'Handle' in namespace 'v8'
    void FSEvents::Initialize(v8::Handle exports) {
                              ~~~~^
    ../fsevents.cc:85:48: error: expected '(' for function-style cast or type construction
    void FSEvents::Initialize(v8::Handle exports) {
                                         ~~~~~~~~~~^
    ../fsevents.cc:85:50: error: use of undeclared identifier 'exports'
    void FSEvents::Initialize(v8::Handle exports) {
                                                     ^
    ../fsevents.cc:85:58: error: expected ';' after top level declarator
    void FSEvents::Initialize(v8::Handle exports) {
                                                             ^
                                                             ;
    23 warnings and 9 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 19.5.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/patrickhahn/MagicMirror/vendor/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/patrickhahn/MagicMirror/vendor/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64" "--napi_version=5" "--node_abi_napi=napi"
    gyp ERR! cwd /Users/patrickhahn/MagicMirror/vendor/node_modules/fsevents
    gyp ERR! node -v v12.16.3
    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/patrickhahn/MagicMirror/vendor/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/patrickhahn/MagicMirror/vendor/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. (/Users/patrickhahn/MagicMirror/vendor/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 19.5.0
    node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/patrickhahn/MagicMirror/vendor/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
    node-pre-gyp ERR! cwd /Users/patrickhahn/MagicMirror/vendor/node_modules/fsevents
    node-pre-gyp ERR! node -v v12.16.3
    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/patrickhahn/MagicMirror/vendor/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/patrickhahn/MagicMirror/vendor/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64 --napi_version=5 --node_abi_napi=napi' (1)
    added 62 packages from 37 contributors, removed 3 packages, updated 17 packages and audited 150 packages in 40.858s
    found 8 vulnerabilities (7 low, 1 high)
      run `npm audit fix` to fix them, or `npm audit` for details
    
    > magicmirror@2.12.0 postinstall /Users/patrickhahn/MagicMirror
    > npm run install-fonts && echo "MagicMirror installation finished successfully! 
    "
    
    
    > magicmirror@2.12.0 install-fonts /Users/patrickhahn/MagicMirror
    > echo "Installing fonts ...
    " && cd fonts && npm install --loglevel=error
    
    Installing fonts ...
    
    updated 1 package and audited 1 package in 0.476s
    found 0 vulnerabilities
    
    MagicMirror installation finished successfully! 
    
    

    do you have an idea ? thanks in advance



  • @Stoffbeuteluwe I do not know. I didn’t have this error on my Mac Catalina upgrade.

    I am in hospital for a little while longer and can’t debug much w my phone



  • @Stoffbeuteluwe looks like fsevents 1.2.4 is old and we need 2.x

    but mm doesn’t use it directly.

    so u might be able to help

    from a terminal window ( not exactly sure of the syntax)

    cd ~/MagicMirror
    find node_modules -n package.json | grep fsevents
    

    then u can try

    npm install fsevents
    npm install
    


  • @Stoffbeuteluwe I rechecked my upgrade build, (on catalina) and it didn’t try to recompile vendor/fsevents.

    can u try

    cd ~/MagicMirror/vendor
    rm -rf node_modules
    rm package-lock.json
    npm install
    

  • Project Sponsor

    @sdetweil thank you Sam I have upgraded successfully



  • @Stoffbeuteluwe awesome. thanks for the update


Log in to reply