This repository was archived by the owner on Dec 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Error after installing #12
Copy link
Copy link
Open
Description
I am running magic mirror in a docker container however, after fixing an error with electron by installing electron by hand and editing the path in the package.json see issue: #7
Now magic mirror can't start and i get the following docker logs:
[2020-12-16 18:34:53.575] [ERROR] Error: The module '/opt/magic_mirror/modules/MMM-Buttons/node_modules/epoll/build/Release/epoll.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 85. This version of Node.js requires
NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1208:18)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
at bindings (/opt/magic_mirror/modules/MMM-Buttons/node_modules/bindings/bindings.js:112:48)
at /opt/magic_mirror/modules/MMM-Buttons/node_modules/epoll/epoll.js:7:31
at Object.<anonymous> (/opt/magic_mirror/modules/MMM-Buttons/node_modules/epoll/epoll.js:15:3)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
i have already tried npm rebuild and ./node_modules/.bin/electron-rebuild
Does this has to do with the electron version? What can i possibly do to fix the issue?
Thank you for your support :)
excuse me, @Jopyth what electron version are you using? (It isn't specified in the package.json file)
Metadata
Metadata
Assignees
Labels
No labels