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.7k 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.
    • 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