MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. JohnBachini
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    J
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 10
    • Posts 86
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Works with Node Serveronly but not npm start MM

      @sdetweil

      Tried , unfortunately doesn’t seem to have made any difference.

      Thanks

      pi@MagicMirror:~/MagicMirror/modules/MMM-synology-ds $ npm install mmmagic

      > mmmagic@0.5.3 install /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic
      > node-gyp rebuild
      
      make: Entering directory '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build'
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/apprentice.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/apptype.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/ascmagic.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf_time.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/compress.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/der.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/encoding.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/fsmagic.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/funcs.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/is_tar.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/magic.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/print.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/readcdf.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/readelf.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/softmagic.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/fmtcheck.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/strlcat.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/strlcpy.o
        AR(target) Release/obj.target/deps/libmagic/magic.a
        COPY Release/magic.a
        CXX(target) Release/obj.target/magic/src/binding.o
      In file included from ../src/binding.cc:3:
      ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
      ../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                    ^
      ../src/binding.cc: In static member function ‘static void Magic::DetectFile(const Nan::FunctionCallbackInfo<v8::Value>& ’:
      ../src/binding.cc:184:59: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                        (uv_after_work_cb)Magic::DetectAfter);
                                                                 ^~~~~~~~~~~
      ../src/binding.cc: In static member function ‘static void Magic::Detect(const Nan::FunctionCallbackInfo<v8::Value>&)’:
      ../src/binding.cc:217:59: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                        (uv_after_work_cb)Magic::DetectAfter);
                                                                 ^~~~~~~~~~~
      In file included from ../src/binding.cc:1:
      ../src/binding.cc: At global scope:
      /home/pi/.cache/node-gyp/10.20.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
             (node::addon_register_func) (regfunc),                          \
                                                 ^
      /home/pi/.cache/node-gyp/10.20.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
         ^~~~~~~~~~~~~
      ../src/binding.cc:415:3: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(magic, init);
         ^~~~~~~~~~~
      In file included from /home/pi/.cache/node-gyp/10.20.0/include/node/node.h:63,
                       from ../src/binding.cc:1:
      /home/pi/.cache/node-gyp/10.20.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
      /home/pi/.cache/node-gyp/10.20.0/include/node/node_object_wrap.h:84:78:   required from here
      /home/pi/.cache/node-gyp/10.20.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                      reinterpret_cast<Callback>(callback), type);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/pi/.cache/node-gyp/10.20.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
      ../../nan/nan_object_wrap.h:65:61:   required from here
      /home/pi/.cache/node-gyp/10.20.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callbac ’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
        SOLINK_MODULE(target) Release/obj.target/magic.node
        COPY Release/magic.node
      make: Leaving directory '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build'
      + mmmagic@0.5.3
      updated 1 package and audited 14 packages in 18.498s
      found 0 vulnerabilities
      

      pi@MagicMirror:~/MagicMirror/modules/MMM-synology-ds $ cd …
      pi@MagicMirror:~/MagicMirror/modules $ cd …
      pi@MagicMirror:~/MagicMirror $ npm start mm

      > magicmirror@2.11.0 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "mm"
      
      [2020-04-28 14:26:28.842] [LOG]    Starting MagicMirror: v2.11.0
      [2020-04-28 14:26:28.849] [LOG]    Loading config ...
      [2020-04-28 14:26:28.855] [LOG]    Loading module helpers ...
      [2020-04-28 14:26:28.857] [LOG]    No helper found for module: MMM-Logging.
      [2020-04-28 14:26:28.860] [LOG]    No helper found for module: alert.
      [2020-04-28 14:26:28.895] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:28.896] [LOG]    Module helper loaded: updatenotification
      [2020-04-28 14:26:28.896] [LOG]    No helper found for module: clock.
      [2020-04-28 14:26:28.897] [LOG]    No helper found for module: MMM-OpenmapWeather.
      [2020-04-28 14:26:28.898] [LOG]    No helper found for module: weatherforecast.
      [2020-04-28 14:26:29.198] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:29.199] [LOG]    Module helper loaded: MMM-Tools
      [2020-04-28 14:26:29.200] [LOG]    No helper found for module: MMM-PlexNowPlaying.
      [2020-04-28 14:26:29.202] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:29.202] [LOG]    Module helper loaded: mmm-hue-lights
      [2020-04-28 14:26:29.204] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:29.205] [LOG]    Module helper loaded: MMM-homeassistant-sensors
      [2020-04-28 14:26:29.360] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:29.361] [LOG]    Module helper loaded: MMM-Hotword
      [2020-04-28 14:26:30.447] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:30.447] [LOG]    Module helper loaded: MMM-AssistantMk2
      [2020-04-28 14:26:30.449] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:30.449] [LOG]    Module helper loaded: MMM-Assistant2Display
      [2020-04-28 14:26:30.836] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:30.836] [LOG]    Module helper loaded: MMM-Parcel
      [2020-04-28 14:26:30.909] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
      [2020-04-28 14:26:30.910] [LOG]    Loading module helpers ...
      [2020-04-28 14:26:30.911] [LOG]    No helper found for module: MMM-Logging.
      [2020-04-28 14:26:30.911] [LOG]    No helper found for module: alert.
      [2020-04-28 14:26:30.912] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:30.912] [LOG]    Module helper loaded: updatenotification
      [2020-04-28 14:26:30.912] [LOG]    No helper found for module: clock.
      [2020-04-28 14:26:30.913] [LOG]    No helper found for module: MMM-OpenmapWeather.
      [2020-04-28 14:26:30.913] [LOG]    No helper found for module: weatherforecast.
      [2020-04-28 14:26:30.914] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:30.914] [LOG]    Module helper loaded: MMM-Tools
      [2020-04-28 14:26:30.915] [LOG]    No helper found for module: MMM-PlexNowPlaying.
      [2020-04-28 14:26:30.915] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:30.915] [LOG]    Module helper loaded: mmm-hue-lights
      [2020-04-28 14:26:30.916] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:30.916] [LOG]    Module helper loaded: MMM-homeassistant-sensors
      [2020-04-28 14:26:30.916] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:30.916] [LOG]    Module helper loaded: MMM-Hotword
      [2020-04-28 14:26:30.917] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:30.917] [LOG]    Module helper loaded: MMM-AssistantMk2
      [2020-04-28 14:26:30.918] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:30.918] [LOG]    Module helper loaded: MMM-Assistant2Display
      [2020-04-28 14:26:30.918] [LOG]    Initializing new module helper ...
      [2020-04-28 14:26:30.918] [LOG]    Module helper loaded: MMM-Parcel
      [2020-04-28 14:26:30.924] [ERROR]  App threw an error during load
      [2020-04-28 14:26:30.925] [ERROR]  Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func (electron/js2c/asar.js:138:31)
          at process.func [as dlopen] (electron/js2c/asar.js:138:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
          at Object.func (electron/js2c/asar.js:138:31)
          at Object.func [as .node] (electron/js2c/asar.js:138:31)
          at Module.load (internal/modules/cjs/loader.js:645:32)
          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
          at Module.require (internal/modules/cjs/loader.js:685:19)
          at require (internal/modules/cjs/helpers.js:16:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/lib/index.js:1:13)
      [2020-04-28 14:26:30.926] [LOG]    Whoops! There was an uncaught exception...
      [2020-04-28 14:26:30.926] [ERROR]  Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func (electron/js2c/asar.js:138:31)
          at process.func [as dlopen] (electron/js2c/asar.js:138:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
          at Object.func (electron/js2c/asar.js:138:31)
          at Object.func [as .node] (electron/js2c/asar.js:138:31)
          at Module.load (internal/modules/cjs/loader.js:645:32)
          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
          at Module.require (internal/modules/cjs/loader.js:685:19)
          at require (internal/modules/cjs/helpers.js:16:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/lib/index.js:1:13)
      [2020-04-28 14:26:30.930] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [2020-04-28 14:26:30.930] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [2020-04-28 14:26:31.008] [LOG]    Launching application.
      ^C[2020-04-28 14:26:54.721] [LOG]    Shutting down server...
      [2020-04-28 14:26:54.725] [LOG]    Stopping module helper: updatenotification
      [2020-04-28 14:26:54.726] [LOG]    Stopping module helper: MMM-Tools
      [2020-04-28 14:26:54.726] [LOG]    Stopping module helper: mmm-hue-lights
      [2020-04-28 14:26:54.727] [LOG]    Stopping module helper: MMM-homeassistant-sensors
      [2020-04-28 14:26:54.728] [LOG]    Stopping module helper: MMM-Hotword
      [2020-04-28 14:26:54.728] [LOG]    Stopping module helper: MMM-AssistantMk2
      [2020-04-28 14:26:54.729] [LOG]    Stopping module helper: MMM-Assistant2Display
      [2020-04-28 14:26:54.730] [LOG]    Stopping module helper: MMM-Parcel
      [2020-04-28 14:26:54.730] [LOG]    Stopping module helper: updatenotification
      [2020-04-28 14:26:54.731] [LOG]    Stopping module helper: MMM-Tools
      [2020-04-28 14:26:54.731] [LOG]    Stopping module helper: mmm-hue-lights
      [2020-04-28 14:26:54.732] [LOG]    Stopping module helper: MMM-homeassistant-sensors
      [2020-04-28 14:26:54.733] [LOG]    Stopping module helper: MMM-Hotword
      [2020-04-28 14:26:54.733] [LOG]    Stopping module helper: MMM-AssistantMk2
      [2020-04-28 14:26:54.734] [LOG]    Stopping module helper: MMM-Assistant2Display
      [2020-04-28 14:26:54.734] [LOG]    Stopping module helper: MMM-Parcel
      

      pi@MagicMirror:~/MagicMirror $

      posted in Troubleshooting
      J
      JohnBachini
    • RE: weather forecast and current weather modules

      @lpassamonte

      You need to post your config, so people can see it.

      posted in General Discussion
      J
      JohnBachini
    • MMM-CalenderExt2 - Fixed Header position ?

      Hi,

      I have this module working with 4 rotating calendars, but when one of the calendars has no events, the header/date/day etc drops to bottom of screen. Is there a way to have it stay in fixed position even if there are no events in that calendar

      Thanks

      posted in Troubleshooting
      J
      JohnBachini
    • RE: Works with Node Serveronly but not npm start MM

      @sdetweil

      oh i see… Thanks again.

      posted in Troubleshooting
      J
      JohnBachini
    • RE: Works with Node Serveronly but not npm start MM

      @sdetweil

      Just tried it and it works in chromium on server !?

      posted in Troubleshooting
      J
      JohnBachini
    • RE: Works with Node Serveronly but not npm start MM

      @sdetweil

      But it doesnt ,it works fine if i servermode and then connect via browser, no errors console at all and the module works as it connect to synology and reports as expected.
      Very strange.

      posted in Troubleshooting
      J
      JohnBachini
    • RE: Works with Node Serveronly but not npm start MM

      @sdetweil

      oh ok, never mind, thanks for trying to help. :thumbs_up:

      just one question for my own peace of mind and try not get too technical, why does it work in servernode, what’s the difference ?

      Thanks again.

      posted in Troubleshooting
      J
      JohnBachini
    • RE: Works with Node Serveronly but not npm start MM

      @sdetweil

      Still no joy :-(

      pi@MagicMirror:~ $ cd MagicMirror//modules/MMM-synology-ds/
      pi@MagicMirror:~/MagicMirror/modules/MMM-synology-ds $ rm -rf node_modules
      pi@MagicMirror:~/MagicMirror/modules/MMM-synology-ds $ rm package-lock.json
      pi@MagicMirror:~/MagicMirror/modules/MMM-synology-ds $ npm install
      
      > mmmagic@0.5.3 install /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic
      > node-gyp rebuild
      
      make: Entering directory '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build'
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/apprentice.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/apptype.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/ascmagic.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf_time.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/compress.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/der.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/encoding.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/fsmagic.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/funcs.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/is_tar.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/magic.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/print.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/readcdf.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/readelf.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/softmagic.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/fmtcheck.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/strlcat.o
        CC(target) Release/obj.target/libmagic/deps/libmagic/src/strlcpy.o
        AR(target) Release/obj.target/deps/libmagic/magic.a
        COPY Release/magic.a
        CXX(target) Release/obj.target/magic/src/binding.o
      In file included from ../src/binding.cc:3:
      ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
      ../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                    ^
      ../src/binding.cc: In static member function ‘static void Magic::DetectFile(const Nan::FunctionCallbackInfo<v8::Value>&)’:
      ../src/binding.cc:184:59: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                        (uv_after_work_cb)Magic::DetectAfter);
                                                                 ^~~~~~~~~~~
      ../src/binding.cc: In static member function ‘static void Magic::Detect(const Nan::FunctionCallbackInfo<v8::Value>&)’:
      ../src/binding.cc:217:59: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                        (uv_after_work_cb)Magic::DetectAfter);
                                                                 ^~~~~~~~~~~
      In file included from ../src/binding.cc:1:
      ../src/binding.cc: At global scope:
      /home/pi/.cache/node-gyp/10.20.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
             (node::addon_register_func) (regfunc),                          \
                                                 ^
      /home/pi/.cache/node-gyp/10.20.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
         ^~~~~~~~~~~~~
      ../src/binding.cc:415:3: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(magic, init);
         ^~~~~~~~~~~
      In file included from /home/pi/.cache/node-gyp/10.20.0/include/node/node.h:63,
                       from ../src/binding.cc:1:
      /home/pi/.cache/node-gyp/10.20.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
      /home/pi/.cache/node-gyp/10.20.0/include/node/node_object_wrap.h:84:78:   required from here
      /home/pi/.cache/node-gyp/10.20.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                      reinterpret_cast<Callback>(callback), type);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/pi/.cache/node-gyp/10.20.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
      ../../nan/nan_object_wrap.h:65:61:   required from here
      /home/pi/.cache/node-gyp/10.20.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
        SOLINK_MODULE(target) Release/obj.target/magic.node
        COPY Release/magic.node
      make: Leaving directory '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build'
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 12 packages from 23 contributors and audited 12 packages in 21.888s
      found 0 vulnerabilities
      
      pi@MagicMirror:~/MagicMirror/modules/MMM-synology-ds $ ^C
      pi@MagicMirror:~/MagicMirror/modules/MMM-synology-ds $ cd ..
      pi@MagicMirror:~/MagicMirror/modules $ cd ..
      pi@MagicMirror:~/MagicMirror $ npm start mm
      
      > magicmirror@2.11.0 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "mm"
      
      [2020-04-27 19:59:42.738] [LOG]    Starting MagicMirror: v2.11.0
      [2020-04-27 19:59:42.745] [LOG]    Loading config ...
      [2020-04-27 19:59:42.751] [LOG]    Loading module helpers ...
      [2020-04-27 19:59:42.754] [LOG]    No helper found for module: MMM-Logging.
      [2020-04-27 19:59:42.757] [LOG]    No helper found for module: alert.
      [2020-04-27 19:59:42.798] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:42.799] [LOG]    Module helper loaded: updatenotification
      [2020-04-27 19:59:42.800] [LOG]    No helper found for module: clock.
      [2020-04-27 19:59:42.800] [LOG]    No helper found for module: MMM-OpenmapWeather.
      [2020-04-27 19:59:42.801] [LOG]    No helper found for module: weatherforecast.
      [2020-04-27 19:59:43.153] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:43.154] [LOG]    Module helper loaded: MMM-Tools
      [2020-04-27 19:59:43.155] [LOG]    No helper found for module: MMM-PlexNowPlaying.
      [2020-04-27 19:59:43.157] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:43.157] [LOG]    Module helper loaded: mmm-hue-lights
      [2020-04-27 19:59:43.159] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:43.160] [LOG]    Module helper loaded: MMM-homeassistant-sensors
      [2020-04-27 19:59:43.350] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:43.350] [LOG]    Module helper loaded: MMM-Hotword
      [2020-04-27 19:59:44.479] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:44.480] [LOG]    Module helper loaded: MMM-AssistantMk2
      [2020-04-27 19:59:44.481] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:44.482] [LOG]    Module helper loaded: MMM-Assistant2Display
      [2020-04-27 19:59:44.896] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:44.897] [LOG]    Module helper loaded: MMM-Parcel
      [2020-04-27 19:59:44.980] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
      [2020-04-27 19:59:44.981] [LOG]    Loading module helpers ...
      [2020-04-27 19:59:44.981] [LOG]    No helper found for module: MMM-Logging.
      [2020-04-27 19:59:44.982] [LOG]    No helper found for module: alert.
      [2020-04-27 19:59:44.983] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:44.983] [LOG]    Module helper loaded: updatenotification
      [2020-04-27 19:59:44.983] [LOG]    No helper found for module: clock.
      [2020-04-27 19:59:44.984] [LOG]    No helper found for module: MMM-OpenmapWeather.
      [2020-04-27 19:59:44.985] [LOG]    No helper found for module: weatherforecast.
      [2020-04-27 19:59:44.985] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:44.985] [LOG]    Module helper loaded: MMM-Tools
      [2020-04-27 19:59:44.986] [LOG]    No helper found for module: MMM-PlexNowPlaying.
      [2020-04-27 19:59:44.986] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:44.987] [LOG]    Module helper loaded: mmm-hue-lights
      [2020-04-27 19:59:44.987] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:44.987] [LOG]    Module helper loaded: MMM-homeassistant-sensors
      [2020-04-27 19:59:44.988] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:44.988] [LOG]    Module helper loaded: MMM-Hotword
      [2020-04-27 19:59:44.989] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:44.989] [LOG]    Module helper loaded: MMM-AssistantMk2
      [2020-04-27 19:59:44.989] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:44.990] [LOG]    Module helper loaded: MMM-Assistant2Display
      [2020-04-27 19:59:44.990] [LOG]    Initializing new module helper ...
      [2020-04-27 19:59:44.990] [LOG]    Module helper loaded: MMM-Parcel
      [2020-04-27 19:59:44.997] [ERROR]  App threw an error during load
      [2020-04-27 19:59:44.998] [ERROR]  Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func (electron/js2c/asar.js:138:31)
          at process.func [as dlopen] (electron/js2c/asar.js:138:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
          at Object.func (electron/js2c/asar.js:138:31)
          at Object.func [as .node] (electron/js2c/asar.js:138:31)
          at Module.load (internal/modules/cjs/loader.js:645:32)
          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
          at Module.require (internal/modules/cjs/loader.js:685:19)
          at require (internal/modules/cjs/helpers.js:16:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/lib/index.js:1:13)
      [2020-04-27 19:59:45.000] [LOG]    Whoops! There was an uncaught exception...
      [2020-04-27 19:59:45.000] [ERROR]  Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func (electron/js2c/asar.js:138:31)
          at process.func [as dlopen] (electron/js2c/asar.js:138:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
          at Object.func (electron/js2c/asar.js:138:31)
          at Object.func [as .node] (electron/js2c/asar.js:138:31)
          at Module.load (internal/modules/cjs/loader.js:645:32)
          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
          at Module.require (internal/modules/cjs/loader.js:685:19)
          at require (internal/modules/cjs/helpers.js:16:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/lib/index.js:1:13)
      [2020-04-27 19:59:45.004] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [2020-04-27 19:59:45.004] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [2020-04-27 19:59:45.109] [LOG]    Launching application.
      pi@MagicMirror:~/MagicMirror $
      
      posted in Troubleshooting
      J
      JohnBachini
    • RE: MMM-AssistantMk2 with Hotword not picking up anything.

      @reubenvickers

      When you install does it pass Play/Mic test…?

      And you have copied mic config into Assistant config.

      posted in Troubleshooting
      J
      JohnBachini
    • RE: Works with Node Serveronly but not npm start MM

      @sdetweil

      tried that and looks like im still getting the same errors:

      Thanks

      pi@MagicMirror:~ $ cd MagicMirror/
      pi@MagicMirror:~/MagicMirror $ npm install electron-rebuild
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      
      + electron-rebuild@1.10.1
      updated 1 package and audited 3283 packages in 19.153s
      
      56 packages are looking for funding
        run `npm fund` for details
      
      found 24 vulnerabilities (22 low, 2 moderate)
        run `npm audit fix` to fix them, or `npm audit` for details
      pi@MagicMirror:~/MagicMirror $ node_modules/.bin/electron-rebuild
      ✔ Rebuild Complete
      pi@MagicMirror:~/MagicMirror $ npm start
      
      > magicmirror@2.11.0 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [2020-04-27 19:08:36.793] [LOG]    Starting MagicMirror: v2.11.0
      [2020-04-27 19:08:36.800] [LOG]    Loading config ...
      [2020-04-27 19:08:36.806] [LOG]    Loading module helpers ...
      [2020-04-27 19:08:36.807] [LOG]    No helper found for module: MMM-Logging.
      [2020-04-27 19:08:36.810] [LOG]    No helper found for module: alert.
      [2020-04-27 19:08:36.855] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:36.856] [LOG]    Module helper loaded: updatenotification
      [2020-04-27 19:08:36.857] [LOG]    No helper found for module: clock.
      [2020-04-27 19:08:36.857] [LOG]    No helper found for module: MMM-OpenmapWeather.
      [2020-04-27 19:08:36.858] [LOG]    No helper found for module: weatherforecast.
      [2020-04-27 19:08:37.208] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:37.209] [LOG]    Module helper loaded: MMM-Tools
      [2020-04-27 19:08:37.209] [LOG]    No helper found for module: MMM-PlexNowPlaying.
      [2020-04-27 19:08:37.211] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:37.211] [LOG]    Module helper loaded: mmm-hue-lights
      [2020-04-27 19:08:37.213] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:37.213] [LOG]    Module helper loaded: MMM-homeassistant-sensors
      [2020-04-27 19:08:37.389] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:37.390] [LOG]    Module helper loaded: MMM-Hotword
      [2020-04-27 19:08:38.531] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:38.532] [LOG]    Module helper loaded: MMM-AssistantMk2
      [2020-04-27 19:08:38.533] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:38.534] [LOG]    Module helper loaded: MMM-Assistant2Display
      [2020-04-27 19:08:38.920] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:38.921] [LOG]    Module helper loaded: MMM-Parcel
      [2020-04-27 19:08:38.988] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
      [2020-04-27 19:08:38.989] [LOG]    Loading module helpers ...
      [2020-04-27 19:08:38.990] [LOG]    No helper found for module: MMM-Logging.
      [2020-04-27 19:08:38.990] [LOG]    No helper found for module: alert.
      [2020-04-27 19:08:38.991] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:38.992] [LOG]    Module helper loaded: updatenotification
      [2020-04-27 19:08:38.993] [LOG]    No helper found for module: clock.
      [2020-04-27 19:08:38.993] [LOG]    No helper found for module: MMM-OpenmapWeather.
      [2020-04-27 19:08:38.994] [LOG]    No helper found for module: weatherforecast.
      [2020-04-27 19:08:38.995] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:38.995] [LOG]    Module helper loaded: MMM-Tools
      [2020-04-27 19:08:38.996] [LOG]    No helper found for module: MMM-PlexNowPlaying.
      [2020-04-27 19:08:38.997] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:38.998] [LOG]    Module helper loaded: mmm-hue-lights
      [2020-04-27 19:08:39.000] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:39.001] [LOG]    Module helper loaded: MMM-homeassistant-sensors
      [2020-04-27 19:08:39.002] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:39.002] [LOG]    Module helper loaded: MMM-Hotword
      [2020-04-27 19:08:39.003] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:39.004] [LOG]    Module helper loaded: MMM-AssistantMk2
      [2020-04-27 19:08:39.004] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:39.005] [LOG]    Module helper loaded: MMM-Assistant2Display
      [2020-04-27 19:08:39.005] [LOG]    Initializing new module helper ...
      [2020-04-27 19:08:39.006] [LOG]    Module helper loaded: MMM-Parcel
      [2020-04-27 19:08:39.012] [ERROR]  App threw an error during load
      [2020-04-27 19:08:39.013] [ERROR]  Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func (electron/js2c/asar.js:138:31)
          at process.func [as dlopen] (electron/js2c/asar.js:138:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
          at Object.func (electron/js2c/asar.js:138:31)
          at Object.func [as .node] (electron/js2c/asar.js:138:31)
          at Module.load (internal/modules/cjs/loader.js:645:32)
          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
          at Module.require (internal/modules/cjs/loader.js:685:19)
          at require (internal/modules/cjs/helpers.js:16:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/lib/index.js:1:13)
      [2020-04-27 19:08:39.014] [LOG]    Whoops! There was an uncaught exception...
      [2020-04-27 19:08:39.015] [ERROR]  Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func (electron/js2c/asar.js:138:31)
          at process.func [as dlopen] (electron/js2c/asar.js:138:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
          at Object.func (electron/js2c/asar.js:138:31)
          at Object.func [as .node] (electron/js2c/asar.js:138:31)
          at Module.load (internal/modules/cjs/loader.js:645:32)
          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
          at Module.require (internal/modules/cjs/loader.js:685:19)
          at require (internal/modules/cjs/helpers.js:16:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/lib/index.js:1:13)
      [2020-04-27 19:08:39.018] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [2020-04-27 19:08:39.019] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [2020-04-27 19:08:39.144] [LOG]    Launching application.
      pi@MagicMirror:~/MagicMirror $
      
      posted in Troubleshooting
      J
      JohnBachini
    • RE: Works with Node Serveronly but not npm start MM

      @sdetweil

      yes tried npm rebuild in module directory and get this:

      Thanks

      pi@MagicMirror:~ $ cd MagicMirror/
      pi@MagicMirror:~/MagicMirror $ cd modules
      pi@MagicMirror:~/MagicMirror/modules $ cd MMM-synology-ds/
      pi@MagicMirror:~/MagicMirror/modules/MMM-synology-ds $ npm rebuild
      
      mmmagic@0.5.3 install /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic
      node-gyp rebuild
      
      make: Entering directory ‘/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build’
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/apprentice.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/apptype.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/ascmagic.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf_time.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/compress.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/der.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/encoding.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/fsmagic.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/funcs.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/is_tar.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/magic.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/print.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/readcdf.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/readelf.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/softmagic.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/fmtcheck.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/strlcat.o
      CC(target) Release/obj.target/libmagic/deps/libmagic/src/strlcpy.o
      AR(target) Release/obj.target/deps/libmagic/magic.a
      COPY Release/magic.a
      CXX(target) Release/obj.target/magic/src/binding.o
      In file included from …/src/binding.cc:3:
      …/…/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
      …/…/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
      , reinterpret_cast(AsyncExecuteComplete)
      ^
      …/src/binding.cc: In static member function ‘static void Magic::DetectFile(const Nan::FunctionCallbackInfo&)’:
      …/src/binding.cc:184:59: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
      (uv_after_work_cb)Magic::DetectAfter);
      ^~~~~~~~~~~
      …/src/binding.cc: In static member function ‘static void Magic::Detect(const Nan::FunctionCallbackInfo&)’:
      …/src/binding.cc:217:59: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
      (uv_after_work_cb)Magic::DetectAfter);
      ^~~~~~~~~~~
      In file included from …/src/binding.cc:1:
      …/src/binding.cc: At global scope:
      /home/pi/.cache/node-gyp/10.20.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void ()(v8::Local)’ to ‘node::addon_register_func’ {aka ‘void ()(v8::Local, v8::Local, void*)’} [-Wcast-function-type]
      (node::addon_register_func) (regfunc),
      ^
      /home/pi/.cache/node-gyp/10.20.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
      NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
      ^~~~~~~~~~~~~
      …/src/binding.cc:415:3: note: in expansion of macro ‘NODE_MODULE’
      NODE_MODULE(magic, init);
      ^~~~~~~~~~~
      In file included from /home/pi/.cache/node-gyp/10.20.0/include/node/node.h:63,
      from …/src/binding.cc:1:
      /home/pi/.cache/node-gyp/10.20.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo
      
      ::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo
      
      ::Callback = void ()(const v8::WeakCallbackInfo&)]’:
      /home/pi/.cache/node-gyp/10.20.0/include/node/node_object_wrap.h:84:78: required from here
      /home/pi/.cache/node-gyp/10.20.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo::Callback’ {aka ‘void ()(const v8::WeakCallbackInfo&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
      reinterpret_cast(callback), type);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/pi/.cache/node-gyp/10.20.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo
      
      ::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo
      
      ::Callback = void ()(const v8::WeakCallbackInfo&)]’:
      …/…/nan/nan_object_wrap.h:65:61: required from here
      /home/pi/.cache/node-gyp/10.20.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo::Callback’ {aka ‘void ()(const v8::WeakCallbackInfo&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
      SOLINK_MODULE(target) Release/obj.target/magic.node
      COPY Release/magic.node
      make: Leaving directory ‘/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build’
      synology-api@1.0.8 /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/synology-api
      http-request@0.7.0 /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/http-request
      form-data@3.0.0 /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/form-data
      asynckit@0.4.0 /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/asynckit
      combined-stream@1.0.8 /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/combined-stream
      delayed-stream@1.0.0 /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/delayed-stream
      mime-types@2.1.26 /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mime-types
      mime-db@1.43.0 /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mime-db
      mmmagic@0.5.3 /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic
      nan@2.14.0 /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/nan
      promise@7.3.1 /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/promise
      asap@2.0.6 /home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/asap
      pi@MagicMirror:~/MagicMirror/modules/MMM-synology-ds $
      
      posted in Troubleshooting
      J
      JohnBachini
    • Works with Node Serveronly but not npm start MM

      So i have been running My Magicmirror as node serveronly for a while but came to change config, so started it with npm start MM and it errors on one module and then get blank screen.
      See below.

      So question is how to fix and why does it work when run serveronly.
      I tried npm rebuild in module as suggested (if indeed that what it was saying I should recompile ?)

      Thanks

      John

      magicmirror@2.11.0 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "MagicMirror"
      
      [2020-04-27 15:54:50.403] [LOG]    Starting MagicMirror: v2.11.0
      [2020-04-27 15:54:50.431] [LOG]    Loading config ...
      [2020-04-27 15:54:50.436] [LOG]    Loading module helpers ...
      [2020-04-27 15:54:50.438] [LOG]    No helper found for module: MMM-Logging.
      [2020-04-27 15:54:50.439] [LOG]    No helper found for module: alert.
      [2020-04-27 15:54:50.492] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:50.493] [LOG]    Module helper loaded: updatenotification
      [2020-04-27 15:54:50.493] [LOG]    No helper found for module: clock.
      [2020-04-27 15:54:50.494] [LOG]    No helper found for module: MMM-OpenmapWeather.
      [2020-04-27 15:54:50.495] [LOG]    No helper found for module: weatherforecast.
      [2020-04-27 15:54:50.807] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:50.808] [LOG]    Module helper loaded: MMM-Tools
      [2020-04-27 15:54:50.808] [LOG]    No helper found for module: MMM-PlexNowPlaying.
      [2020-04-27 15:54:50.810] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:50.811] [LOG]    Module helper loaded: mmm-hue-lights
      [2020-04-27 15:54:50.812] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:50.813] [LOG]    Module helper loaded: MMM-homeassistant-sensors
      [2020-04-27 15:54:51.038] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:51.039] [LOG]    Module helper loaded: MMM-Hotword
      [2020-04-27 15:54:52.180] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:52.181] [LOG]    Module helper loaded: MMM-AssistantMk2
      [2020-04-27 15:54:52.183] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:52.183] [LOG]    Module helper loaded: MMM-Assistant2Display
      [2020-04-27 15:54:52.579] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:52.580] [LOG]    Module helper loaded: MMM-Parcel
      [2020-04-27 15:54:52.660] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
      [2020-04-27 15:54:52.661] [LOG]    Loading module helpers ...
      [2020-04-27 15:54:52.662] [LOG]    No helper found for module: MMM-Logging.
      [2020-04-27 15:54:52.662] [LOG]    No helper found for module: alert.
      [2020-04-27 15:54:52.663] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:52.663] [LOG]    Module helper loaded: updatenotification
      [2020-04-27 15:54:52.664] [LOG]    No helper found for module: clock.
      [2020-04-27 15:54:52.664] [LOG]    No helper found for module: MMM-OpenmapWeather.
      [2020-04-27 15:54:52.665] [LOG]    No helper found for module: weatherforecast.
      [2020-04-27 15:54:52.665] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:52.666] [LOG]    Module helper loaded: MMM-Tools
      [2020-04-27 15:54:52.666] [LOG]    No helper found for module: MMM-PlexNowPlaying.
      [2020-04-27 15:54:52.667] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:52.667] [LOG]    Module helper loaded: mmm-hue-lights
      [2020-04-27 15:54:52.667] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:52.668] [LOG]    Module helper loaded: MMM-homeassistant-sensors
      [2020-04-27 15:54:52.668] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:52.669] [LOG]    Module helper loaded: MMM-Hotword
      [2020-04-27 15:54:52.669] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:52.669] [LOG]    Module helper loaded: MMM-AssistantMk2
      [2020-04-27 15:54:52.670] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:52.670] [LOG]    Module helper loaded: MMM-Assistant2Display
      [2020-04-27 15:54:52.671] [LOG]    Initializing new module helper ...
      [2020-04-27 15:54:52.671] [LOG]    Module helper loaded: MMM-Parcel
      [2020-04-27 15:54:52.678] [ERROR]  App threw an error during load
      [2020-04-27 15:54:52.679] [ERROR]  Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func (electron/js2c/asar.js:138:31)
          at process.func [as dlopen] (electron/js2c/asar.js:138:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
          at Object.func (electron/js2c/asar.js:138:31)
          at Object.func [as .node] (electron/js2c/asar.js:138:31)
          at Module.load (internal/modules/cjs/loader.js:645:32)
          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
          at Module.require (internal/modules/cjs/loader.js:685:19)
          at require (internal/modules/cjs/helpers.js:16:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/lib/index.js:1:13)
      [2020-04-27 15:54:52.680] [LOG]    Whoops! There was an uncaught exception...
      [2020-04-27 15:54:52.680] [ERROR]  Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func (electron/js2c/asar.js:138:31)
          at process.func [as dlopen] (electron/js2c/asar.js:138:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
          at Object.func (electron/js2c/asar.js:138:31)
          at Object.func [as .node] (electron/js2c/asar.js:138:31)
          at Module.load (internal/modules/cjs/loader.js:645:32)
          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
          at Module.require (internal/modules/cjs/loader.js:685:19)
          at require (internal/modules/cjs/helpers.js:16:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/lib/index.js:1:13)
      [2020-04-27 15:54:52.684] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [2020-04-27 15:54:52.684] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [2020-04-27 15:54:53.034] [LOG]    Launching application.
      
      posted in Troubleshooting
      J
      JohnBachini
    • RE: MMM-Assistant2Display

      @Bugsounet
      Thanks I will give that a try.

      posted in General Discussion
      J
      JohnBachini
    • MMM-Assistant2Display

      Hi, I have installed, but unable to get video/youtube to play anything, it attempts to play and then error on screen, but disappears to quickly to read, but in logs

      Thanks

      youtube.js:77 [AMK2:ADDONS:A2D] Player Error 150: Not Allowed By Owner

      config is.

      //			disabled: true,
      			module: "MMM-AssistantMk2",	
      			position: "top_left",
      			config: {
      				verbose: true,
      				debug: true,
      				useA2D: true,
      				ui: "Fullscreen",
      				deviceModelId: "mmwithga-mmwithga-cffskt",
      				deviceInstanceId: "mmwithga",
      				assistantConfig: {
      					latitude: 51.968653,
      					longitude: -0.737203,
      					},
      //				responseConfig: {
      //					useHTML5: false,
      //					playProgram: "mpg123",
      //					},
      			record: {
      				recordProgram : "arecord",  
      				device        : "plughw:2,0",
      				},
      				recipes: [ "with-MMM-Hotword.js" ],
          			profiles: {
        		    		"default": {
        		      			profileFile: "default.json",
      		        		lang: "en-UK"
      		     			 }
        		  		},
        		  		addons: false,		
      				}
      		},
      		{
      			module: "MMM-Assistant2Display",
      			position: "top_left",
      			config: {
      				debug: true,
      				}
      		},
      
      

      error log

      MMM-PlexNowPlaying: Data received from the Plex server after 1 attempt(s). 
      MMM-Hotword.js:205 [HOTWORD] Command is excuting
      MMM-Hotword.js:215 [HOTWORD] notificationExec: ASSISTANT_ACTIVATE {profile: "default", type: "WAVEFILE", key: "modules/MMM-Hotword/temp/afterRecording.wav"}
      module.js:198 alert is suspended.
      MMM-AssistantMk2.js:563 [AMK2] Command CMD_HOTWORD_PAUSE is executed (notificationExec).
      module.js:198 clock is suspended.
      module.js:198 MMM-OpenmapWeather is suspended.
      module.js:198 weatherforecast is suspended.
      module.js:198 MMM-Tools is suspended.
      MMM-PlexNowPlaying.js:919 MMM-PlexNowPlaying: Suspended.
      module.js:198 MMM-homeassistant-sensors is suspended.
      module.js:198 MMM-Hotword is suspended.
      MMM-Assistant2Display.js:214 [A2D] This module cannot be suspended.
      module.js:198 MMM-synology-ds is suspended.
      response.js:77 [AMK2] Status from standby to think
      youtube.js:152 [A2D] YT Command: setVolume 5
      response.js:77 [AMK2] Status from think to confirmation
      MMM-AssistantMk2.js:654 [AMK2] Send A2D Response.
      display.js:57 [A2D] Response Scan
      display.js:312 [A2D] Lock Screen
      module.js:198 alert is suspended.
      youtube.js:152 [A2D] YT Command: cueVideoById {videoId: "7HD6O9patDE"}
      display.js:89 [A2D] Response Structure: {radio: false, speak: true, locked: true, AMk2: {…}, youtube: {…}, …}
      response.js:77 [AMK2] Status from confirmation to reply
      response.js:210 [AMK2] Wait audio to finish
      module.js:198 clock is suspended.
      module.js:198 MMM-OpenmapWeather is suspended.
      module.js:198 weatherforecast is suspended.
      module.js:198 MMM-Tools is suspended.
      MMM-PlexNowPlaying.js:919 MMM-PlexNowPlaying: Suspended.
      module.js:198 MMM-homeassistant-sensors is suspended.
      module.js:198 MMM-Hotword is suspended.
      MMM-Assistant2Display.js:214 [A2D] This module cannot be suspended.
      module.js:198 MMM-synology-ds is suspended.
      display.js:296 [A2D] Hide Iframe
      youtube.js:119 [A2D] YT Status: Video unstarted
      youtube.js:152 [A2D] YT Command: playVideo 
      youtube.js:119 [A2D] YT Status: Video cued
      display.js:296 [A2D] Hide Iframe
      youtube.js:119 [A2D] YT Status: Video unstarted
      youtube.js:119 [A2D] YT Status: Video buffering
      **youtube.js:77 [AMK2:ADDONS:A2D] Player Error 150: Not Allowed By Owner**
      display.js:268 [A2D] Reset YouTube {radio: false, speak: true, locked: true, AMk2: {…}, youtube: {…}, …}
      display.js:296 [A2D] Hide Iframe
      youtube.js:119 [A2D] YT Status: Video unstarted
      response.js:22 [AMK2] audio end
      response.js:142 [AMK2] Conversation ends.
      response.js:77 [AMK2] Status from reply to standby
      youtube.js:152 [A2D] YT Command: setVolume 100
      display.js:296 [A2D] Hide Iframe
      display.js:322 [A2D] Unlock Screen
      main.js:280 Will not show alert. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show updatenotification. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show clock. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show MMM-OpenmapWeather. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show weatherforecast. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show MMM-Tools. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show MMM-PlexNowPlaying. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show mmm-hue-lights. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show MMM-homeassistant-sensors. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show MMM-Hotword. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show MMM-Assistant2Display. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show MMM-Parcel. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show MMM-synology-ds. LockStrings active: AMK2_LOCKED
      main.js:280 Will not show MMM-CalendarExt2. LockStrings active: AMK2_LOCKED
      MMM-AssistantMk2.js:563 [AMK2] Command CMD_HOTWORD_RESUME is executed (notificationExec).
      module.js:205 alert is resumed.
      module.js:205 clock is resumed.
      module.js:205 MMM-OpenmapWeather is resumed.
      module.js:205 weatherforecast is resumed.
      module.js:205 MMM-Tools is resumed.
      MMM-PlexNowPlaying.js:919 MMM-PlexNowPlaying: Resumed.
      MMM-PlexNowPlaying.js:919 MMM-PlexNowPlaying: Update scheduled to run automatically every 30 second(s). 
      module.js:205 MMM-homeassistant-sensors is resumed.
      module.js:205 MMM-Hotword is resumed.
      MMM-PlexNowPlaying.js:919 MMM-PlexNowPlaying: Data received from the Plex server after 1 attempt(s). 
      MMM-Assistant2Display.js:218 [A2D] This module cannot be resumed.
      module.js:205 MMM-synology-ds is resumed.
      MMM-PlexNowPlaying.js:919 MMM-PlexNowPlaying: Data received from the Plex server after 1 attempt(s).
      
      posted in General Discussion
      J
      JohnBachini
    • RE: MMM-Assistant2Display last step help?

      @particlex
      You need to add it in the config part of Module, 4th line in above shows start of config
      config : {
      debug: false,
      useA2D: true
      }
      No comma if last

      posted in Requests
      J
      JohnBachini
    • RE: MMM-CalendarExt2

      @Doudy
      Hi,

      Did you manage to work out how to change from MM/DD to DD/MM ? As I have same problem.

      Thanks

      @Doudy Great, ill give that a go Thanks

      posted in Utilities
      J
      JohnBachini
    • RE: Help, zero experience, want stock ticker and facial recognition.

      Hi,
      There are step by step instructions for getting you magicmirror up and running. Once your done, then its just a matter of googling modules you need ie “magicmirrior stock” or something similar or there is a third party mdules on the magic mirror site, which you can trawl through until you find the modules you want.
      I had no experiance of coding when i started , about 3-4 montsh ago, but you soon pick bits up… and theres always people to help you in forum.

      posted in General Discussion
      J
      JohnBachini
    • RE: MMM-CalendarExt2

      @Doudy
      Hi,

      Did you manage to work out how to change from MM/DD to DD/MM ? As I have same problem.

      Thanks

      posted in Utilities
      J
      JohnBachini
    • MMM-CalendarExt

      calext2.jpg )

      Hi, im trying to change format of date in calendar, its shows as MM/DD but i want to display DD/MM , as shown bottom right of picture.

      Thanks

      John

      posted in Troubleshooting
      J
      JohnBachini
    • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

      have you tried restarting the hue hub ?

      posted in Utilities
      J
      JohnBachini
    • 1
    • 2
    • 3
    • 4
    • 5
    • 4 / 5