Read the statement by Michael Teeuw here.
MMM-Hover node-modul error
-
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
-
@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