Read the statement by Michael Teeuw here.
multiple error in magic mirror after update from 2.28.0 to 2.36.0
-
@1a2a3a you did this right?
NODE_OPTIONS=--trace-deprecation npm run start:xxxReplace xxx with x11, the whole line
On your systemThat’s 2. — in front of of trace-deprecation
-
@sdetweil yes correct
NODE_OPTIONS=–trace-deprecation npm run start:x11
i also manually git pull all the modules and all are up to dates as well.
-
@sdetweil how do i fix my pm2 issue?
-
@1a2a3a need 2 dashes in front of trace
-
@1a2a3a change the npm start to npm run start:x11
If you had used my upgrade script it would have fixed that
-
@sdetweil i did use your upgrade script.
do you mean change it inside mm.sh?
currently its
#!/bin/bash # This file is still here to keep PM2 working on older installations. cd ~/MagicMirror DISPLAY=:0 npm startchange it to
#!/bin/bash # This file is still here to keep PM2 working on older installations. cd ~/MagicMirror DISPLAY=:0 npm run start:x11correct?
-
@1a2a3a correct…
in version 2.35 we documented that we changed the default to
npm run start:wayland
for npm start
see package,json, scripts: section for the command options
-
@sdetweil same thing
NODE_OPTIONS=--trace-deprecation npm run start:x11 [2026-05-02 00:31:24.574] [LOG] [node_helper] Module helper loaded: MMM-CalendarExt3 [2026-05-02 00:31:24.574] [LOG] [app] All module helpers loaded. [2026-05-02 00:31:24.592] [LOG] [server] Starting server on port 8080 ... [2026-05-02 00:31:24.602] [ERROR] [unknown] (node:1985687) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. at node:punycode:7:10 at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:398:7) at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:337:10) at loadBuiltinModule (node:internal/modules/helpers:126:7) at loadBuiltinWithHooks (node:internal/modules/cjs/loader:1229:15) at Module._load (node:internal/modules/cjs/loader:1320:48) at c._load (node:electron/js2c/node_init:2:18060) at wrapModuleLoad (node:internal/modules/cjs/loader:262:19) at Module.require (node:internal/modules/cjs/loader:1583:12) at require (node:internal/modules/helpers:153:16) [2026-05-02 00:31:24.702] [LOG] [app] Server started ... [2026-05-02 00:31:24.703] [LOG] [node_helper] Connectin``` code_text -
-
@1a2a3a SO much fun
do this and give me the output
grep "module:" ~/MagicMirror/config/config.js | sort | uniqand I’ll look thru them
-
@sdetweil here you go
[hsa@HSA:~ $ grep "module:" ~/MagicMirror/config/config.js module: "alert", module: "updatenotification", module: "clock", module: "MMM-Jast", module: 'MMM-GoogleDocs-Notes', module: "newsfeed", module: "MMM-NewsAPI", module: "MMM-MyScoreboard", module: "MMM-SoccerLiveScore", // module: "MMM-GooglePhotos", // module: "MMM-ImagesPhotos", // module: "MMM-Wallpaper", // module: 'MMM-BackgroundSlideshow', module: "MMM-OneDrive", module: "MMM-CalendarExt3Agenda", module: "calendar", module: "MMM-CalendarExt3", module: "calendar",](link url) -
@1a2a3a ok, I didn’t find it the easy way
lets try the easier way
find ~/MagicMirror/modules -type d | grep punycode | sorteach module listed has it as a dependency either directly or indirectly
on my system (with a lot of modules installed, but most not used)/home/sam/MagicMirror/modules/Hello-Lucy/node_modules/punycode /home/sam/MagicMirror/modules/MMM-BMI/node_modules/punycode /home/sam/MagicMirror/modules/MMM-CalvinAndHobbes/node_modules/punycode /home/sam/MagicMirror/modules/MMM-FinParcel/node_modules/punycode /home/sam/MagicMirror/modules/MMM-GoogleCalendar/node_modules/punycode /home/sam/MagicMirror/modules/MMM-HomeAssistantDisplay/node_modules/punycode /home/sam/MagicMirror/modules/MMM-homeassistant-sensors/node_modules/punycode /home/sam/MagicMirror/modules/MMM-json/node_modules/npm/node_modules/punycode /home/sam/MagicMirror/modules/MMM-json/node_modules/npm/node_modules/uri-js/node_modules/punycode /home/sam/MagicMirror/modules/MMM-json/node_modules/punycode /home/sam/MagicMirror/modules/MMM-Lottery/node_modules/punycode /home/sam/MagicMirror/modules/MMM-MARS/node_modules/punycode /home/sam/MagicMirror/modules/MMM-NOAA3/node_modules/punycode /home/sam/MagicMirror/modules/MMM-OnSpotify/node_modules/punycode /home/sam/MagicMirror/modules/MMM-Reddit/node_modules/psl/node_modules/punycode /home/sam/MagicMirror/modules/MMM-Reddit/node_modules/request/node_modules/punycode /home/sam/MagicMirror/modules/MMM-Reddit/node_modules/uri-js/node_modules/punycode /home/sam/MagicMirror/modules/MMM-SmartWebDisplay/node_modules/punycode /home/sam/MagicMirror/modules/MMM-Strava/node_modules/punycode /home/sam/MagicMirror/modules/MMM-Surf/node_modules/punycode /home/sam/MagicMirror/modules/MMM-Todoist/node_modules/punycodebecause its not listed in one of the modules directly, its a dependency of a dependency
-
@sdetweil can we fix the pm2 please?
-
-
hsa@HSA:~ $ find ~/MagicMirror/modules -type d | grep punycode | sort /home/hsa/MagicMirror/modules/MMM-Jast/node_modules/punycode -
@sdetweil it doesnt work still unfortunately. it goes into a black screen then back to wallpaper and keep looping in this manner…
-
@1a2a3a yep, its a dependency 3 layers down…
“node_modules/yahoo-finance2”
only thing is to open an issue on the module github page and see if the author can/will fix it
-
@sdetweil ok got it. thanks. since the punycode is not material lets ignore it for now and focus on the pm2 haha.
-
-
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