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

    Posts

    Recent Best Controversial
    • Can't install MMM-Navigate

      Hello,

      Im trying to install the MMM-Navigate module made by @AxLed.
      When running

      npm install
      

      following message return:

      pi@raspberrypi:~/MagicMirror/modules/MMM-Navigate $ npm install
      
      > MagicMirror-Module-Navigate@1.4.0 install /home/pi/MagicMirror/modules/MMM-Navigate
      > electron-rebuild
      
      /home/pi/MagicMirror/modules/MMM-Navigate/node_modules/fs-extra/lib/mkdirs/make-dir.js:85
            } catch {
                    ^
      
      SyntaxError: Unexpected token {
          at new Script (vm.js:51:7)
          at createScript (vm.js:136:10)
          at Object.runInThisContext (vm.js:197:10)
          at Module._compile (internal/modules/cjs/loader.js:618:28)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
          at Module.load (internal/modules/cjs/loader.js:566:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
          at Function.Module._load (internal/modules/cjs/loader.js:498:3)
          at Module.require (internal/modules/cjs/loader.js:598:17)
          at require (internal/modules/cjs/helpers.js:11:18)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! MagicMirror-Module-Navigate@1.4.0 install: `electron-rebuild`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the MagicMirror-Module-Navigate@1.4.0 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2021-01-03T17_47_54_887Z-debug.log
      

      When i start the MagicMirror following error in in console:

      [03.01.2021 18:56.24.542] [LOG]   Module helper loaded: MMM-Page-Selector
      [03.01.2021 18:56.24.602] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/build/Release/epoll.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 59. This version of Node.js requires
      NODE_MODULE_VERSION 76. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
      
      [03.01.2021 18:56.24.622] [ERROR] App threw an error during load
      [03.01.2021 18:56.24.626] [ERROR] Error: The module '/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/build/Release/epoll.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 59. This version of Node.js requires
      NODE_MODULE_VERSION 76. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func [as dlopen] (electron/js2c/asar.js:140:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:1016:18)
          at Object.func [as .node] (electron/js2c/asar.js:140:31)
          at Module.load (internal/modules/cjs/loader.js:816:32)
          at Module._load (internal/modules/cjs/loader.js:728:14)
          at Function.Module._load (electron/js2c/asar.js:748:26)
          at Module.require (internal/modules/cjs/loader.js:853:19)
          at require (internal/modules/cjs/helpers.js:74:18)
          at bindings (/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/bindings/bindings.js:112:48)
          at /home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/epoll.js:7:31
      [03.01.2021 18:56.24.630] [ERROR] Whoops! There was an uncaught exception...
      [03.01.2021 18:56.24.638] [ERROR] Error: The module '/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/build/Release/epoll.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 59. This version of Node.js requires
      NODE_MODULE_VERSION 76. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func [as dlopen] (electron/js2c/asar.js:140:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:1016:18)
          at Object.func [as .node] (electron/js2c/asar.js:140:31)
          at Module.load (internal/modules/cjs/loader.js:816:32)
          at Module._load (internal/modules/cjs/loader.js:728:14)
          at Function.Module._load (electron/js2c/asar.js:748:26)
          at Module.require (internal/modules/cjs/loader.js:853:19)
          at require (internal/modules/cjs/helpers.js:74:18)
          at bindings (/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/bindings/bindings.js:112:48)
          at /home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/epoll.js:7:31
      

      Can someone imagine whats the problem?

      Thanks in advance :)

      posted in Troubleshooting
      K
      keineAhnung123
    • RE: How to use the Alert module?

      @ashishtank
      Thanks.
      That worked fine :)

      posted in Troubleshooting
      K
      keineAhnung123
    • How to use the Alert module?

      Hello,

      Module: https://docs.magicmirror.builders/modules/alert.html

      Is it possible to show an alert via notification?
      I can send notifications with for example MMM-Buttons.
      Is there an example anywhere?

      Thank you :)

      posted in Troubleshooting
      K
      keineAhnung123
    • 1
    • 2
    • 3
    • 3 / 3