Read the statement by Michael Teeuw here.
updated installer script available for testing
-
@sdetweil Hi, when I install your MM installer script on my Mac, does it install pm2 automatically.
-
@Stoffbeuteluwe it will if u select yes when prompted
-
@sdetweil oh thanks :grinning_face:
-
@Stoffbeuteluwe if you didn’t do it during the install, u can do it later with the fixuppm2 script from my site
https://github.com/sdetweil/MagicMirror_scripts -
@sdetweil ok sam…thanks for all your work
-
@sdetweil do you know what I am doing wrong?
\$$$$$$ | \______/ \e[0m install log being saved to /Users/patrickhahn/install.log this appears not to be a Raspberry Pi 2 or 3, do you want to continue installation (y/N)?y \e[96mCheck current Node installation ...\e[0m \e[0mNode currently installed. Checking version number. \e[0mMinimum Node version: \e[1mv10.1.0\e[0m \e[0mInstalled Node version: \e[1mv12.16.3\e[0m \e[92mNo Node.js upgrade necessary.\e[0m \e[96mCheck current NPM installation ...\e[0m \e[0mNPM currently installed. Checking version number. \e[0mMinimum npm version: \e[1mV6.0.0\e[0m \e[0mInstalled npm version: \e[1mV6.14.4\e[0m \e[92mNo npm upgrade necessary.\e[0m \e[96mCloning MagicMirror ...\e[90m Cloning into 'MagicMirror'... remote: Enumerating objects: 316, done. remote: Counting objects: 100% (316/316), done. remote: Compressing objects: 100% (276/276), done. remote: Total 316 (delta 43), reused 178 (delta 27), pack-reused 0 Receiving objects: 100% (316/316), 437.95 KiB | 1.48 MiB/s, done. Resolving deltas: 100% (43/43), done. \e[92mCloning MagicMirror Done!\e[90m \e[96mInstalling dependencies ...\e[90m npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated rrule-alt@2.2.8: Please use rrule instead npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart() npm WARN deprecated webdriverio@4.14.4: outdated version, please use @next npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated 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()) \ ^ <scratch space>: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()); \ ^ <scratch space>: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<v8::StringObject>(); ~~~~~~~~~~~~~~~~~~~~~ ^ /Users/patrickhahn/Library/Caches/node-gyp/12.16.3/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: In file included from ../../nan/nan.h:2722: ../../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__, #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<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__, #e) : (void)0) ^ ../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] : 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").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagMustScanSubDirs").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagUserDropped").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagKernelDropped").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagEventIdsWrapped").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagHistoryDone").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagRootChanged").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagMount").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagUnmount").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagItemCreated").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagItemRemoved").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagItemInodeMetaMod").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagItemRenamed").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagItemModified").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagItemFinderInfoMod").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagItemChangeOwner").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagItemXattrMod").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagItemIsFile").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagItemIsDir").ToLocalChecked(), Nan::New<v8::Integer>(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<v8::String>("kFSEventStreamEventFlagItemIsSymlink").ToLocalChecked(), Nan::New<v8::Integer>(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<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) { ^ ; 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.4.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.<anonymous> (/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.4.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 npm notice created a lockfile as package-lock.json. You should commit this file. \e[92mDependencies installation Done!\e[90m setting up initial config.js \e[96mCheck plymouth installation ...\e[0m \e[93mplymouth is not installed.\e[0m Do you want use pm2 for auto starting of your MagicMirror (y/N)?n Do you want to disable the screen saver? (y/N)?n \e[92mWe're ready! Run \e[1m\e[97mDISPLAY=:0 npm start\e[0m\e[92m from the ~/MagicMirror directory to start your MagicMirror.\e[0m patrickhahn@Patricks-Mini ~ %
-
@Stoffbeuteluwe so much fun…
I put in a fix
remove the MagicMirror folder and try again…I had not tried installer on mac since 2.10… sorry…
-
@sdetweil MM install was without problems thank you…
but pm2 say error but it works…Do you want use pm2 for auto starting of your MagicMirror (y/N)?y install and setup pm2 Password: [PM2][ERROR] Init system not found /bin/sh: launchctl: command not found [PM2][ERROR] launchctl load -w /Users/patrickhahn/Library/LaunchAgents/pm2.patrickhahn.plist failed, see error above. [PM2] Spawning PM2 daemon with pm2_home=/Users/patrickhahn/.pm2 [PM2] PM2 Successfully daemonized [PM2][WARN] Applications MagicMirror not running, starting... [PM2] App [MagicMirror] launched (1 instances) ┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ default │ 2.11.0 │ fork │ 4867 │ 0s │ 0 │ online │ 0% │ 1.0mb │ pat… │ enabled │ └─────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘ [PM2] Saving current process list... [PM2] Successfully saved in /Users/patrickhahn/.pm2/dump.pm2 Do you want to disable the screen saver? (y/N)?y 2020-05-22 14:37:06.275 defaults[5057:87330] The domain/default pair of (com.apple.screensaver, idleTime) does not exist bash: line 537: [: !=: unary operator expected \e[92mWe're ready! Run \e[1m\e[97mpm2 start MagicMirror\e[0m\e[92m from the ~/MagicMirror directory to start your MagicMirror.\e[0m patrickhahn@Mac-mini ~ %
-
@Stoffbeuteluwe ok, on the screensaver can u show the results of this
defaults -currentHost read com.apple.screensaver
thanks… working on the pm2 issue
what os level are u running on the mini?
-
@sdetweil
version10.15.4 (19E287)