I checked out the git repository and ran the npm build command in the directory. When I use the default config Magic Mirror launches but none of the modules load. I see this message on the terminal
bindings (/home/hrishi/MagicMirror/modules/MMM-PIR/node_modules/bindings/bindings.js:112:48)
at /home/hrishi/MagicMirror/modules/MMM-PIR/node_modules/epoll/epoll.js:7:31
[01.01.2022 13:41.42.429] [ERROR] Whoops! There was an uncaught exception...
[01.01.2022 13:41.42.435] [ERROR] Error: The module '/home/hrishi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build/Release/epoll.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 93. This version of Node.js requires
NODE_MODULE_VERSION 89. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1846)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1138:18)
at Object.func [as .node] (electron/js2c/asar_bundle.js:5:1846)
at Module.load (internal/modules/cjs/loader.js:935:32)
at Module._load (internal/modules/cjs/loader.js:776:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (internal/modules/cjs/helpers.js:88:18)
at bindings (/home/hrishi/MagicMirror/modules/MMM-PIR/node_modules/bindings/bindings.js:112:48)
at /home/hrishi/MagicMirror/modules/MMM-PIR/node_modules/epoll/epoll.js:7:31
Hello
I checked out the git repository and ran the npm build command in the directory. When I use the default config Magic Mirror launches but none of the modules load. I see this message on the terminal
bindings (/home/hrishi/MagicMirror/modules/MMM-PIR/node_modules/bindings/bindings.js:112:48) at /home/hrishi/MagicMirror/modules/MMM-PIR/node_modules/epoll/epoll.js:7:31 [01.01.2022 13:41.42.429] [ERROR] Whoops! There was an uncaught exception... [01.01.2022 13:41.42.435] [ERROR] Error: The module '/home/hrishi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build/Release/epoll.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 93. This version of Node.js requires NODE_MODULE_VERSION 89. Please try re-compiling or re-installing the module (for instance, using
npm rebuild
ornpm install
). at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1846) at Object.Module._extensions..node (internal/modules/cjs/loader.js:1138:18) at Object.func [as .node] (electron/js2c/asar_bundle.js:5:1846) at Module.load (internal/modules/cjs/loader.js:935:32) at Module._load (internal/modules/cjs/loader.js:776:14) at Function.f._load (electron/js2c/asar_bundle.js:5:12913) at Module.require (internal/modules/cjs/loader.js:959:19) at require (internal/modules/cjs/helpers.js:88:18) at bindings (/home/hrishi/MagicMirror/modules/MMM-PIR/node_modules/bindings/bindings.js:112:48) at /home/hrishi/MagicMirror/modules/MMM-PIR/node_modules/epoll/epoll.js:7:31Do let me know if you need any other information.