Read the statement by Michael Teeuw here.
Next release arm32 users, need your help
-
We are getting closer to losing support for 32 bit os runtimes for MagicMirror. (armv7l, arm32)
The next release of electron ships w node 24 , but will use node 22 if it is installed.
What we don’t know is if the electron rebuild process works
If you have/know of modules that need electron rebuild when running with electron
Let us know. Used to be buttons and other gpio connected modules.
We are not ready for you to test yet
-
Dear Sam, @sdetweil
yes — my MMM-PresenceScreenControl module is one of those. It uses node-libgpiod (native C addon for GPIO/PIR sensor
access), which requires @electron/rebuild to match Electron’s Node ABI.That said, the module has had an automatic fallback since v1.1.0: if node-libgpiod fails to compile or rebuild, it
transparently falls back to Python/gpiozero for PIR sensor access. So it will work without a successful
electron-rebuild — just via a different code path.The dependency setup (as of v1.3.1):
- node-libgpiod is an optionalDependency (npm continues if it fails)
- @electron/rebuild is not listed as a dependency — it’s installed on-demand by the postinstall script only when
node-libgpiod is actually present - If either fails, the module falls back to Python gracefully
So for your testing: this module would be a good candidate to verify if electron-rebuild still works, but it won’t
break if it doesn’t.My other modules (MMM-Globe, MMM-Best-Weather, MMM-My-Actual-Weather, etc.) are pure JavaScript — no native addons, no
electron-rebuild needed.Hope this helps.
Warmest regards,
Ralf
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login