Read the statement by Michael Teeuw here.
Cannot find module '#server_functions'
-
I don’t see that error in my test of npm run server.
-
@sdetweil and @karsten13, I think I solved my problem.
In the beginning when I used the update script it stopped with the node-version but didn’t update. So I updated manually by using the original code from Node JS. So I installed node v22.20.0. Later I went again down to v22.18.0. Maybe this caused some trouble. But Maybe not.rm -rf node_modules
andnpm install
I did already 3 times before.But now I modified the
calendarfetcher.js
andnewsfeedfetcher.js
:This was removed:
const { getUserAgent } = require("#server_functions"); const { scheduleTimer } = require("#module_functions");
and replaced by this:
const getUserAgent = () => "MagicMirror v2.33.0"; const scheduleTimer = (timerRef, interval, callback) => { clearTimeout(timerRef); return setTimeout(callback, interval); };
No errors and Calendar/Newsfeed is displayed as before. I don’t know exactly if there are any new issues now but so far I’m happy.
-
@chrisfr1976 I’d really like to see the upgrade.log file
~/MagicMirror/installers/upgrade.logEmail to Me , same userid as here at gmail
-
@sdetweil Hey, no problem generally but I‘m out until Thursday. I‘ll send it then.
-
@chrisfr1976 when you have time