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)
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
ornpm 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)