MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Hover node-modul error

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 4 Posters 1.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      Skorpionbird
      last edited by

      Hello togheter i has installed the MMM-Hover Modul but there is an problem. i recive this error message:

      Whoops! There was an uncaught exception…
      Error: The module ‘/home/pi/MagicMirror/modules/MMM-Hover/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 57. Please try re-compiling or re-installing
      the module (for instance, using npm rebuild or npm install).
      at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
      at Object.Module._extensions…node (module.js:671:18)
      at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
      at Module.load (module.js:561:32)
      at tryModuleLoad (module.js:504:12)
      at Function.Module._load (module.js:496:3)
      at Module.require (module.js:586:17)
      at require (internal/module.js:11:18)
      at bindings (/home/pi/MagicMirror/modules/MMM-Hover/node_modules/bindings/bindings.js:84:48)
      at Object. (/home/pi/MagicMirror/modules/MMM-Hover/node_modules/epoll/epoll.js:1:192)
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      Launching application.

      i hope some one can help me with this issue.

      Regards Skorpionbird

      1 Reply Last reply Reply Quote 0
      • A Offline
        AxLed Module Developer
        last edited by

        I had a similar problem once with anoter module, this helped

        #Change into the modules directory
        cd modules/MMM-Hover
        # Rebuild module for the correct elecron version
        npm rebuild --runtime=electron --target=$(../../node_modules/electron/cli.js --version) --disturl=https://atom.io/download/atom-shell --build-from-source
        

        AxLED

        1 Reply Last reply Reply Quote 0
        • A Offline
          AxLed Module Developer
          last edited by

          @Skorpionbird
          I am not sure if the code mentioned above works, i just saw you have an node problem, my problem was a electron problem.
          AxLED

          1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer
            last edited by bhepler

            Please use the Markdown features of the board to assist others in reading your code and log files.

            On another note, when the error message says:

            Error: The module '/home/pi/MagicMirror/modules/MMM-Hover/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 57. Please try re-compiling or re-installing
            the module (for instance, using npm rebuild or npm install).

            Did you try those commands?

            cd /home/pi/MagicMirror/modules/MMM-Hover
            npm rebuild
            
            1 Reply Last reply Reply Quote 0
            • S Offline
              Skorpionbird
              last edited by

              dosn`t work with npm rebuild
              any ideas

              1 Reply Last reply Reply Quote 0
              • A Offline
                AdnanAhmed97
                last edited by AdnanAhmed97

                Rebuild the electron
                cd MagicMirror/modules/MMM-Hover
                npm install --save-dev electron-rebuild
                ./node_modules/.bin/electron-rebuild

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy