Read the statement by Michael Teeuw here.
Default Weather Module Stuck on loading.
-
@sdetweil alright so i ran those commands. when I got to
ls nunjucks -laF
It returned that directory did not exist, which i would imagine is part of my issue. I then continued with the rest of the commands, then I got this error.

For context, recently I saw notifications on my mirror stating some modules needed to be updated. I ran through the docs for updating those but it’s possible I messed that up and caused myself a bigger problem here.
-
@fnmuffinman ah…
Node 23 is bad , so we won’t install there
So try either of these commands
n —version
nvm —versionDo either exist?
-
@sdetweil it appears neither do

-
@fnmuffinman good, thx
Do this
sudo npm install -g n sudo n 22.21.1 hash -r node -vShould show v 22.21.1
If not stop and adviseIf ok
Then docd ~/MagicMirror npm installThen start MagicMirror
-
@sdetweil IT WORKS!! I cannot thank you enough for your time and patience with the help on this. I have learned alot from walking through this troubleshooting with you. Are you able to tell me what I may or may not have done wrong to cause it to stop working?
-
@fnmuffinman great news!! Thanks for the feedback
As for what happened
You upgraded nodejs at some point
And didn’t catch the npm install error messageSo you had the new code (git pull) but not the runtime libs it needed
I recommend using my upgrade script in the future
-
@sdetweil gotcha! I would love to use a script instead of breaking things again lol where can i find your upgrade script and what does it all entail? does it upgrade Magic mirror and the modules or just MM itself?
-
@fnmuffinman the links are in the MagicMirror documentation

It does only MagicMirror
-
@sdetweil fantastic. Thanks again for all the help!!
