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 ugradde 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
force
at 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