Read the statement by Michael Teeuw here.
sounds familiar? undici
-
A JavaScript error occurred in the main process
0|mm | Uncaught Exception:
0|mm | Error: Cannot find module ‘undici’so after updateing the mirror and the pi this is my error
I have rebooted and have ran sdetweil fix-it-all script with apply.But helas…
Mirror down mayday mayday
-
@ReD1470 you did not update to the required nodejs version…
if you had run the automated ugrade script it would have handled this for you
https://github.com/sdetweil/MagicMirror_scripts
depending on your OS version you ‘might’ be able to force fix it
run the upgrade script from above with
forceat the end, instead of
apply -
So I ran the script, again, only now I applied FORCE at teh end
result:
ebian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jan 13 16:27:51 2025 from 192.168.2.127
pi@pi-mirror:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” force
update log will be in /home/pi/MagicMirror/installers/upgrade.log
doing test run = false
Node currently installed. Checking version number.
Minimum Node version: v20.18.1
Installed Node version: v20.18.1
Check current Node installation …
Node currently installed. Checking version number.
Minimum Node version: v20.18.1
Installed Node version: v20.18.1
No Node.js upgrade necessary.
Check current NPM installation …
NPM currently installed. Checking version number.
Minimum npm version: V10.8.2
Installed npm version: V10.8.2
No npm upgrade necessary.want /var/swap=200MByte, checking existing: keeping it
saving custom.css
upgrading from version 2.30.0 to 2.30.0
fetching latest revisions
updating MagicMirror runtime, please waitthe screen did not change, so i pressed enter, and new info came up.
magicmirror@2.30.0 postinstall
npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
"magicmirror@2.30.0 install-vendor
echo "Installing vendor files …
" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling vendor files …
changed 3 packages in 11s
magicmirror@2.30.0 install-fonts
echo "Installing fonts …
" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling fonts …
changed 2 packages in 7s
MagicMirror² installation finished successfully!then it started checking all my modules, no changes there
But all is well again and the mirror is running
So again Sam, tnx a milion!
2bad i keep running into these errors -
@ReD1470 this is why i created the upgrade script, cause there lots of little things that will make you unhappy!
-
R ReD1470 has marked this topic as solved on
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