Read the statement by Michael Teeuw here.
JavaScript error
-
@sdetweil
The install returned “npm error A complete log of this…” -
@Lmagenis did it succeed or fail,
Without the log
-
@Lmagenis can you send me the log , same userid at gmail please
-
The log says your disk/sd card is full (or failing)
no space left on device -
@sdetweil Thank you! Looks like I have some cloning to do (once I get the new card)
-
@Lmagenis yes, maybe there is a bunch of log files you can delete
Then you could use my backup/restore scripts
https://github.com/sdetweil/MagicMirror-backup-restore.gitWhich has a perfect use for this
Very small data. Can use GitHub too as the storage place -
@sdetweil got the new card up and running! Went through the scripts as you instructed but came up with a new error. Started the magic mirror in x11 and it works! Thanks again for your help! You’re indispensable!
-
@Lmagenis great news!!!
Where did you see the error ?
How did you install MagicMirror on the new system?
-
@sdetweil I backed up the files with your script first in case the sd copy program in the pi failed. I didn’t need the backup, but it’s nice to have in case something goes wrong.
when I ran “npm start” it was loading the modules and returned this:
(I skipped copying the earliest info about all of the modules)
[2026-05-12 07:52:44.151] [LOG] [node_helper] Connecting socket for: MMM-OpenWeatherForecast
[2026-05-12 07:52:44.152] [LOG] [MMM-OpenWeatherForecast] ====================== Starting node_helper for module [MMM-OpenWeatherForecast]
[2026-05-12 07:52:44.153] [LOG] [node_helper] Connecting socket for: newsfeed
[2026-05-12 07:52:44.154] [LOG] [newsfeed] Starting node helper for: newsfeed
[2026-05-12 07:52:44.155] [LOG] [app] Sockets connected & modules started …
[10718:0512/075244.158823:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:202] Failed to connect to Wayland display: No such file or directory (2)
[10718:0512/075244.159077:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:281] Failed to initialize Wayland platform
[10718:0512/075244.159133:ERROR:ui/aura/env.cc:246] The platform failed to initialize. Exiting.
/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV -
-
S sdetweil has marked this topic as solved
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