Read the statement by Michael Teeuw here.
Upgrade errors?
-
@BKeyport thanks, I’ll have to check this in the morning, and see how to do the c++ runtime upgrade too
-
@sdetweil It appears node and/or NPM is the problem - some of their newer dependencies aren’t compatible with older Raspbian installs, which will make it impossible for me to run what I want on the mirror.
Losing OMXPlayer murders my setup - so I’m working on something else.
-
@BKeyport yeh, looks like buster/legacy is too down level for node 20. let’s try 18
sudo npm i n sudo n i 18
node -v should show node 18
then
cd ~/MagicMirror rm -rf node_modules npm run install-mm
please advise
-
@sdetweil said in Upgrade errors?:
cd ~/MagicMirror
rm -rf node_modules
npm run install-mmThe update seem to have crashed my Mirror, I applied these fixes but nothing will run here is my start up logs, what am I missing? Any help would be much appreciated! Thanks.
macserver@EDITHs-MacBook-Pro MagicMirror % npm run server > magicmirror@2.25.0 server > node ./serveronly [02.10.2023 07:51.49.432] [LOG] Starting MagicMirror: v2.25.0 [02.10.2023 07:51.49.436] [LOG] Loading config ... [02.10.2023 07:51.49.438] [DEBUG] config template file not exists, no envsubst [02.10.2023 07:51.49.442] [LOG] Loading module helpers ... [02.10.2023 07:51.49.443] [LOG] No helper found for module: alert. [02.10.2023 07:51.49.449] [LOG] Initializing new module helper ... [02.10.2023 07:51.49.450] [LOG] Module helper loaded: updatenotification [02.10.2023 07:51.49.451] [LOG] No helper found for module: clock. [02.10.2023 07:51.49.676] [LOG] Initializing new module helper ... [02.10.2023 07:51.49.676] [LOG] Module helper loaded: MMM-quote-of-the-day [02.10.2023 07:51.49.765] [ERROR] Whoops! There was an uncaught exception... [02.10.2023 07:51.49.770] [ERROR] Error: Cannot find module 'fetch' Require stack: - /Users/macserver/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js - /Users/macserver/MagicMirror/modules/MMM-MyCalendar/node_helper.js - /Users/macserver/MagicMirror/js/app.js - /Users/macserver/MagicMirror/serveronly/index.js at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._resolveFilename (/Users/macserver/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (node:internal/modules/cjs/loader:920:27) at Module.require (node:internal/modules/cjs/loader:1141:19) at require (node:internal/modules/cjs/helpers:110:18) at Object.<anonymous> (/Users/macserver/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js:11:15) at Module._compile (node:internal/modules/cjs/loader:1254:14) at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) at Module.load (node:internal/modules/cjs/loader:1117:32) at Module._load (node:internal/modules/cjs/loader:958:12) at Module.require (node:internal/modules/cjs/loader:1141:19) at require (node:internal/modules/cjs/helpers:110:18) at Object.<anonymous> (/Users/macserver/MagicMirror/modules/MMM-MyCalendar/node_helper.js:8:25) at Module._compile (node:internal/modules/cjs/loader:1254:14) at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) at Module.load (node:internal/modules/cjs/loader:1117:32) { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/macserver/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js', '/Users/macserver/MagicMirror/modules/MMM-MyCalendar/node_helper.js', '/Users/macserver/MagicMirror/js/app.js', '/Users/macserver/MagicMirror/serveronly/index.js' ] } [02.10.2023 07:51.49.771] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [02.10.2023 07:51.49.771] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues macserver@EDITHs-MacBook-Pro MagicMirror %
-
@croc_dad72 said in Upgrade errors?:
Error: Cannot find module ‘fetch’
see https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later
-
@BKeyport also try the new temp node20 install script, listed at the top of my scripts page
-
looks like you are on deprecated node version, run
node -v
which must be >=v18
-
@karsten13 Upgrade just broke my dev machine. :-) Guess I am not upgrading my mirror. Had to wipe my whole WSL Ubuntu install. Have to start from scratch with my dev machine. Not a great upgrade. My prod mirror is still a PI 3B running buster. :confounded_face:
-
-
@sdetweil Thanks Sam. I already broke my dev machine. How do I clean install 2.24.0?