Read the statement by Michael Teeuw here.
MMM-Hover node-modul error
-
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, usingnpm rebuildornpm 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
-
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-sourceAxLED
-
@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 -
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 -
dosn`t work with npm rebuild
any ideas -
Rebuild the electron
cd MagicMirror/modules/MMM-Hover
npm install --save-dev electron-rebuild
./node_modules/.bin/electron-rebuild
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login