mboskamp / MMM-PIR

This MagicMirror module monitors a PIR sensor and turns on/off your display. You can even run custom scripts and control it via Telegram.
16 stars 6 forks source link

Impossible to launch #10

Closed aptgetupgrade closed 4 years ago

aptgetupgrade commented 5 years ago

Hi - I just downloaded this module, did npm install, included the config lines in config.js and when I try to launch MagicMirror provides the following errors:

0|mm | Error: The module '/home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build/Release/epoll.node' 0|mm | was compiled against a different Node.js version using 0|mm | NODE_MODULE_VERSION 59. This version of Node.js requires 0|mm | NODE_MODULE_VERSION 57. Please try re-compiling or re-installing 0|mm | the module (for instance, using npm rebuild or npm install). 0|mm | at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20) 0|mm | at Object.Module._extensions..node (module.js:671:18) 0|mm | at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20) 0|mm | at Module.load (module.js:561:32) 0|mm | at tryModuleLoad (module.js:504:12) 0|mm | at Function.Module._load (module.js:496:3) 0|mm | at Module.require (module.js:586:17) 0|mm | at require (internal/module.js:11:18) 0|mm | at bindings (/home/pi/MagicMirror/modules/MMM-PIR/node_modules/bindings/bindings.js:112:48) 0|mm | at module.exports (/home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/epoll.js:5:31)