Read the statement by Michael Teeuw here.
Update is not working..I need help please
-
@Stoffbeuteluwe the default digest-fetch expects a different runtime…
they say to do this in the module folder
npm install digest-fetch@v2 node-fetch@v2
-
@Stoffbeuteluwe Seems like you may have installed the wrong version of digest-fetch. You have a later version than what the module handles looks like to me. Not sure what version the module requires.
-
Yeah Yeah it works …a big THANK YOU to you
without you guys I wouldn’t have made it:clapping_hands: :grinning_face_with_big_eyes: -
@Stoffbeuteluwe awesome!! thanks for the feedback
-
@sdetweil
Hello, I was happy a little too early…the mirror starts but the calendar module says loading now
Do you have an idea what could be causing this?
I haven’t changed the config.Last login: Thu Oct 12 20:53:00 on ttys000 patrickhahn@Mac-mini ~ % cd MM patrickhahn@Mac-mini MM % npm start > magicmirror@2.25.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [12.10.2023 20:59.23.100] [LOG] Starting MagicMirror: v2.25.0 [12.10.2023 20:59.23.101] [LOG] Loading config ... [12.10.2023 20:59.23.101] [DEBUG] config template file not exists, no envsubst [12.10.2023 20:59.23.102] [LOG] Loading module helpers ... [12.10.2023 20:59.23.102] [LOG] No helper found for module: alert. [12.10.2023 20:59.23.127] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.127] [LOG] Module helper loaded: MMM-Remote-Control [12.10.2023 20:59.23.129] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.129] [LOG] Module helper loaded: updatenotification [12.10.2023 20:59.23.129] [LOG] No helper found for module: MMM-Snow. [12.10.2023 20:59.23.129] [LOG] No helper found for module: MMM-MyWordClock. [12.10.2023 20:59.23.129] [LOG] No helper found for module: clock. [12.10.2023 20:59.23.129] [LOG] No helper found for module: calendar_monthly. [12.10.2023 20:59.23.148] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.148] [LOG] Module helper loaded: calendar [12.10.2023 20:59.23.157] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.157] [LOG] Module helper loaded: MMM-MyCalendar [12.10.2023 20:59.23.157] [LOG] No helper found for module: compliments. [12.10.2023 20:59.23.162] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.162] [LOG] Module helper loaded: MMM-OpenWeatherForecast [12.10.2023 20:59.23.162] [WARN] No /Users/patrickhahn/MM/js/../modules/weatherforecast/weatherforecast.js found for module: weatherforecast. [12.10.2023 20:59.23.162] [LOG] No helper found for module: weatherforecast. [12.10.2023 20:59.23.166] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.166] [LOG] Module helper loaded: MMM-DWD-WarnWeather [12.10.2023 20:59.23.178] [LOG] Module helper loaded: MMM-Sonos [12.10.2023 20:59.23.254] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.254] [LOG] Module helper loaded: MMM-TelegramBot [12.10.2023 20:59.23.283] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.283] [LOG] Module helper loaded: MMM-AlexaControl [12.10.2023 20:59.23.314] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.314] [LOG] Module helper loaded: MMM-DWD-Pollen [12.10.2023 20:59.23.314] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.314] [LOG] Check MagicMirror² version for node helper 'MMM-Fuel' - Minimum version: 2.15.0 - Current version: 2.25.0 [12.10.2023 20:59.23.314] [LOG] Version is ok! [12.10.2023 20:59.23.314] [LOG] Module helper loaded: MMM-Fuel [12.10.2023 20:59.23.325] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.325] [LOG] Module helper loaded: newsfeed [12.10.2023 20:59.23.325] [LOG] No helper found for module: helloworld. [12.10.2023 20:59.23.366] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.366] [LOG] Module helper loaded: MMM-Tado [12.10.2023 20:59.23.367] [LOG] No helper found for module: MMM-YouTube. [12.10.2023 20:59.23.367] [LOG] No helper found for module: MMM-EasyBack. [12.10.2023 20:59.23.394] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.394] [LOG] Module helper loaded: MMM-ImagesPhotos [12.10.2023 20:59.23.395] [LOG] No helper found for module: MMM-EasyPix. [12.10.2023 20:59.23.395] [LOG] No helper found for module: MMM-EyeCandy. [12.10.2023 20:59.23.395] [LOG] No helper found for module: MMM-SimpleLogo. [12.10.2023 20:59.23.395] [LOG] No helper found for module: MMM-RandomPhoto. [12.10.2023 20:59.23.423] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.423] [LOG] Module helper loaded: MMM-Lunartic [12.10.2023 20:59.23.451] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.451] [LOG] Module helper loaded: MMM-Lunartic2 [12.10.2023 20:59.23.451] [LOG] No helper found for module: MMM-Globe. [12.10.2023 20:59.23.451] [LOG] No helper found for module: MMM-Globe2. [12.10.2023 20:59.23.477] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.477] [LOG] Module helper loaded: MMM-EARTH [12.10.2023 20:59.23.478] [LOG] No helper found for module: MMM-EarthWinds. [12.10.2023 20:59.23.480] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.480] [LOG] Module helper loaded: MMM-MyWastePickup [12.10.2023 20:59.23.508] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.508] [LOG] Module helper loaded: MMM-COVID19-Inc [12.10.2023 20:59.23.538] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.538] [LOG] Module helper loaded: MMM-Todoist [12.10.2023 20:59.23.538] [LOG] No helper found for module: MMM-Gastzugang. [12.10.2023 20:59.23.541] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.542] [LOG] Module helper loaded: mmm-hue-lights [12.10.2023 20:59.23.542] [LOG] No helper found for module: MMM-HolidayLights. [12.10.2023 20:59.23.569] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.569] [LOG] Module helper loaded: MMM-MyStandings [12.10.2023 20:59.23.570] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.570] [LOG] Module helper loaded: MMM-MyScoreboard [12.10.2023 20:59.23.570] [LOG] No helper found for module: clock2. [12.10.2023 20:59.23.570] [LOG] No helper found for module: clock3. [12.10.2023 20:59.23.570] [LOG] No helper found for module: MMM-Xmas. [12.10.2023 20:59.23.570] [WARN] No /Users/patrickhahn/MM/js/../modules/MMM-Snake/MMM-Snake.js found for module: MMM-Snake. [12.10.2023 20:59.23.570] [LOG] No helper found for module: MMM-Snake. [12.10.2023 20:59.23.570] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.570] [LOG] Module helper loaded: MMM-Fitbit2 [12.10.2023 20:59.23.574] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.574] [LOG] Module helper loaded: MMM-SoccerLiveScore [12.10.2023 20:59.23.600] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.600] [LOG] Module helper loaded: MMM-COVID19-SPARKLINE [12.10.2023 20:59.23.641] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.641] [LOG] Module helper loaded: MMM-rfacts [12.10.2023 20:59.23.654] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.655] [LOG] Module helper loaded: MMM-Screencast [12.10.2023 20:59.23.655] [LOG] All module helpers loaded. [12.10.2023 20:59.23.655] [LOG] Starting server on port 8080 ... [12.10.2023 20:59.23.655] [WARN] You're using a full whitelist configuration to allow for all IPs [12.10.2023 20:59.23.657] [LOG] Server started ... [12.10.2023 20:59.23.657] [LOG] Connecting socket for: MMM-Remote-Control [12.10.2023 20:59.23.657] [LOG] Starting node helper for: MMM-Remote-Control [12.10.2023 20:59.23.661] [LOG] Connecting socket for: updatenotification [12.10.2023 20:59.23.661] [LOG] Starting module helper: updatenotification [12.10.2023 20:59.23.661] [LOG] Connecting socket for: calendar [12.10.2023 20:59.23.661] [LOG] Starting node helper for: calendar [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-MyCalendar [12.10.2023 20:59.23.661] [LOG] Starting node helper for: MMM-MyCalendar [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-OpenWeatherForecast [12.10.2023 20:59.23.661] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherForecast] [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-DWD-WarnWeather [12.10.2023 20:59.23.661] [LOG] MMM-DWD-WarnWeather helper started... [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-Sonos [12.10.2023 20:59.23.661] [LOG] Starting module helper: MMM-Sonos [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-TelegramBot [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-AlexaControl [12.10.2023 20:59.23.661] [LOG] MMM-AlexaControl helper, started... [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-DWD-Pollen [12.10.2023 20:59.23.661] [LOG] MMM-DWD-Pollen helper started ... [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-Fuel [12.10.2023 20:59.23.661] [LOG] Starting module helper: MMM-Fuel [12.10.2023 20:59.23.661] [LOG] Connecting socket for: newsfeed [12.10.2023 20:59.23.662] [LOG] Starting node helper for: newsfeed [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-Tado [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-ImagesPhotos [12.10.2023 20:59.23.662] [LOG] Starting node helper for: MMM-ImagesPhotos [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-Lunartic [12.10.2023 20:59.23.662] [LOG] Starting node_helper for: MMM-Lunartic [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-Lunartic2 [12.10.2023 20:59.23.662] [LOG] Starting node_helper for: MMM-Lunartic2 [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-EARTH [12.10.2023 20:59.23.662] [LOG] Starting module: MMM-EARTH [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-MyWastePickup [12.10.2023 20:59.23.662] [LOG] Starting node_helper for module: MMM-MyWastePickup [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-COVID19-Inc [12.10.2023 20:59.23.662] [LOG] Starting node helper for: MMM-COVID19-Inc [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-Todoist [12.10.2023 20:59.23.662] [LOG] Starting node helper for: MMM-Todoist [12.10.2023 20:59.23.662] [LOG] Connecting socket for: mmm-hue-lights [12.10.2023 20:59.23.662] [LOG] Starting node_helper for module [mmm-hue-lights] [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-MyStandings [12.10.2023 20:59.23.662] [LOG] MMM-MyStandings helper started ... [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-MyScoreboard [12.10.2023 20:59.23.662] [LOG] Starting node_helper for module [MMM-MyScoreboard] [12.10.2023 20:59.23.695] [LOG] Connecting socket for: MMM-Fitbit2 [12.10.2023 20:59.23.695] [LOG] Starting module helper: MMM-Fitbit2 [12.10.2023 20:59.23.695] [LOG] Connecting socket for: MMM-SoccerLiveScore [12.10.2023 20:59.23.695] [LOG] Starting node helper for: MMM-SoccerLiveScore [12.10.2023 20:59.23.695] [LOG] Connecting socket for: MMM-COVID19-SPARKLINE [12.10.2023 20:59.23.696] [LOG] Starting node helper for: MMM-COVID19-SPARKLINE [12.10.2023 20:59.23.696] [LOG] Connecting socket for: MMM-rfacts [12.10.2023 20:59.23.696] [LOG] Starting module: MMM-rfacts [12.10.2023 20:59.23.696] [LOG] Connecting socket for: MMM-Screencast [12.10.2023 20:59.23.696] [LOG] Sockets connected & modules started ... 2023-10-12 20:59:23.714 Electron[13999:65212] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES. [12.10.2023 20:59.23.716] [LOG] Launching application. [12.10.2023 20:59.23.889] [ERROR] ERROR! Could not find main module js file for MMM-Lunartic1 [12.10.2023 20:59.25.230] [LOG] Create new calendarfetcher for url: http://p126-caldav.icloud.com/published/2/MjAwMTgyNjQ0NTIwMDE4Mp2LsX_-xfYBCZZDkkcAhmo7RzjFf-TUZWLk0TuOam3UYf6_Am2G7toTrvToJiYzhItBQd6YHovaHHc7VaXkBx4 - Interval: 3600000 [12.10.2023 20:59.25.244] [LOG] Create new calendarfetcher for url: http://p126-caldav.icloud.com/published/2/MjAwMTgyNjQ0NTIwMDE4Mp2LsX_-xfYBCZZDkkcAhmpj-F2SettLCAt0Uv_YZaqGwSNCegMcedybfhqOCaZ6b0DxoMXJSOezr1VmZHWy9-U - Interval: 3600000 [12.10.2023 20:59.25.245] [LOG] Create new calendarfetcher for url: http://p126-caldav.icloud.com/published/2/MjAwMTgyNjQ0NTIwMDE4Mp2LsX_-xfYBCZZDkkcAhmo1PgYX3cXsO3IVusWJ4iKzb4xm1PfKu7EKUkJ-O4aQPdZpBXeb7r60PaikWG0Kp4A - Interval: 3600000 [12.10.2023 20:59.25.245] [LOG] Create new calendarfetcher for url: http://p126-caldav.icloud.com/published/2/MjAwMTgyNjQ0NTIwMDE4Mp2LsX_-xfYBCZZDkkcAhmo7RzjFf-TUZWLk0TuOam3UYf6_Am2G7toTrvToJiYzhItBQd6YHovaHHc7VaXkBx4 - Interval: 300000 [12.10.2023 20:59.25.245] [ERROR] Whoops! There was an uncaught exception... [12.10.2023 20:59.25.245] [ERROR] TypeError: fetch is not a function at fetchCalendar (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:62:14) at CalendarFetcher.startFetch (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:110:3) at Class.createFetcher (/Users/patrickhahn/MM/modules/MMM-MyCalendar/node_helper.js:73:11) at Class.socketNotificationReceived (/Users/patrickhahn/MM/modules/MMM-MyCalendar/node_helper.js:21:9) at Socket.<anonymous> (/Users/patrickhahn/MM/js/node_helper.js:104:11) at Socket.emit (node:events:513:28) at Socket.emitUntyped (/Users/patrickhahn/MM/node_modules/socket.io/dist/typed-events.js:69:22) at /Users/patrickhahn/MM/node_modules/socket.io/dist/socket.js:704:39 at processTicksAndRejections (node:internal/process/task_queues:77:11) [12.10.2023 20:59.25.245] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [12.10.2023 20:59.25.245] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [12.10.2023 20:59.25.245] [LOG] Create new calendarfetcher for url: http://p126-caldav.icloud.com/published/2/MjAwMTgyNjQ0NTIwMDE4Mp2LsX_-xfYBCZZDkkcAhmpj-F2SettLCAt0Uv_YZaqGwSNCegMcedybfhqOCaZ6b0DxoMXJSOezr1VmZHWy9-U - Interval: 300000 [12.10.2023 20:59.25.245] [ERROR] Whoops! There was an uncaught exception... [12.10.2023 20:59.25.246] [ERROR] TypeError: fetch is not a function at fetchCalendar (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:62:14) at CalendarFetcher.startFetch (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:110:3) at Class.createFetcher (/Users/patrickhahn/MM/modules/MMM-MyCalendar/node_helper.js:73:11) at Class.socketNotificationReceived (/Users/patrickhahn/MM/modules/MMM-MyCalendar/node_helper.js:21:9) at Socket.<anonymous> (/Users/patrickhahn/MM/js/node_helper.js:104:11) at Socket.emit (node:events:513:28) at Socket.emitUntyped (/Users/patrickhahn/MM/node_modules/socket.io/dist/typed-events.js:69:22) at /Users/patrickhahn/MM/node_modules/socket.io/dist/socket.js:704:39 at processTicksAndRejections (node:internal/process/task_queues:77:11) [12.10.2023 20:59.25.246] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [12.10.2023 20:59.25.246] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [12.10.2023 20:59.25.246] [LOG] Create new calendarfetcher for url: http://p126-caldav.icloud.com/published/2/MjAwMTgyNjQ0NTIwMDE4Mp2LsX_-xfYBCZZDkkcAhmo1PgYX3cXsO3IVusWJ4iKzb4xm1PfKu7EKUkJ-O4aQPdZpBXeb7r60PaikWG0Kp4A - Interval: 300000 [12.10.2023 20:59.25.246] [ERROR] Whoops! There was an uncaught exception... [12.10.2023 20:59.25.246] [ERROR] TypeError: fetch is not a function at fetchCalendar (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:62:14) at CalendarFetcher.startFetch (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:110:3) at Class.createFetcher (/Users/patrickhahn/MM/modules/MMM-MyCalendar/node_helper.js:73:11) at Class.socketNotificationReceived (/Users/patrickhahn/MM/modules/MMM-MyCalendar/node_helper.js:21:9) at Socket.<anonymous> (/Users/patrickhahn/MM/js/node_helper.js:104:11) at Socket.emit (node:events:513:28) at Socket.emitUntyped (/Users/patrickhahn/MM/node_modules/socket.io/dist/typed-events.js:69:22) at /Users/patrickhahn/MM/node_modules/socket.io/dist/socket.js:704:39 at processTicksAndRejections (node:internal/process/task_queues:77:11)
-
@Stoffbeuteluwe show the output from where we have npm start so we can see what the messages are
-
Last login: Thu Oct 12 20:53:00 on ttys000 patrickhahn@Mac-mini ~ % cd MM patrickhahn@Mac-mini MM % npm start > magicmirror@2.25.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [12.10.2023 20:59.23.100] [LOG] Starting MagicMirror: v2.25.0 [12.10.2023 20:59.23.101] [LOG] Loading config ... [12.10.2023 20:59.23.101] [DEBUG] config template file not exists, no envsubst [12.10.2023 20:59.23.102] [LOG] Loading module helpers ... [12.10.2023 20:59.23.102] [LOG] No helper found for module: alert. [12.10.2023 20:59.23.127] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.127] [LOG] Module helper loaded: MMM-Remote-Control [12.10.2023 20:59.23.129] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.129] [LOG] Module helper loaded: updatenotification [12.10.2023 20:59.23.129] [LOG] No helper found for module: MMM-Snow. [12.10.2023 20:59.23.129] [LOG] No helper found for module: MMM-MyWordClock. [12.10.2023 20:59.23.129] [LOG] No helper found for module: clock. [12.10.2023 20:59.23.129] [LOG] No helper found for module: calendar_monthly. [12.10.2023 20:59.23.148] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.148] [LOG] Module helper loaded: calendar [12.10.2023 20:59.23.157] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.157] [LOG] Module helper loaded: MMM-MyCalendar [12.10.2023 20:59.23.157] [LOG] No helper found for module: compliments. [12.10.2023 20:59.23.162] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.162] [LOG] Module helper loaded: MMM-OpenWeatherForecast [12.10.2023 20:59.23.162] [WARN] No /Users/patrickhahn/MM/js/../modules/weatherforecast/weatherforecast.js found for module: weatherforecast. [12.10.2023 20:59.23.162] [LOG] No helper found for module: weatherforecast. [12.10.2023 20:59.23.166] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.166] [LOG] Module helper loaded: MMM-DWD-WarnWeather [12.10.2023 20:59.23.178] [LOG] Module helper loaded: MMM-Sonos [12.10.2023 20:59.23.254] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.254] [LOG] Module helper loaded: MMM-TelegramBot [12.10.2023 20:59.23.283] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.283] [LOG] Module helper loaded: MMM-AlexaControl [12.10.2023 20:59.23.314] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.314] [LOG] Module helper loaded: MMM-DWD-Pollen [12.10.2023 20:59.23.314] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.314] [LOG] Check MagicMirror² version for node helper 'MMM-Fuel' - Minimum version: 2.15.0 - Current version: 2.25.0 [12.10.2023 20:59.23.314] [LOG] Version is ok! [12.10.2023 20:59.23.314] [LOG] Module helper loaded: MMM-Fuel [12.10.2023 20:59.23.325] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.325] [LOG] Module helper loaded: newsfeed [12.10.2023 20:59.23.325] [LOG] No helper found for module: helloworld. [12.10.2023 20:59.23.366] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.366] [LOG] Module helper loaded: MMM-Tado [12.10.2023 20:59.23.367] [LOG] No helper found for module: MMM-YouTube. [12.10.2023 20:59.23.367] [LOG] No helper found for module: MMM-EasyBack. [12.10.2023 20:59.23.394] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.394] [LOG] Module helper loaded: MMM-ImagesPhotos [12.10.2023 20:59.23.395] [LOG] No helper found for module: MMM-EasyPix. [12.10.2023 20:59.23.395] [LOG] No helper found for module: MMM-EyeCandy. [12.10.2023 20:59.23.395] [LOG] No helper found for module: MMM-SimpleLogo. [12.10.2023 20:59.23.395] [LOG] No helper found for module: MMM-RandomPhoto. [12.10.2023 20:59.23.423] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.423] [LOG] Module helper loaded: MMM-Lunartic [12.10.2023 20:59.23.451] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.451] [LOG] Module helper loaded: MMM-Lunartic2 [12.10.2023 20:59.23.451] [LOG] No helper found for module: MMM-Globe. [12.10.2023 20:59.23.451] [LOG] No helper found for module: MMM-Globe2. [12.10.2023 20:59.23.477] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.477] [LOG] Module helper loaded: MMM-EARTH [12.10.2023 20:59.23.478] [LOG] No helper found for module: MMM-EarthWinds. [12.10.2023 20:59.23.480] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.480] [LOG] Module helper loaded: MMM-MyWastePickup [12.10.2023 20:59.23.508] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.508] [LOG] Module helper loaded: MMM-COVID19-Inc [12.10.2023 20:59.23.538] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.538] [LOG] Module helper loaded: MMM-Todoist [12.10.2023 20:59.23.538] [LOG] No helper found for module: MMM-Gastzugang. [12.10.2023 20:59.23.541] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.542] [LOG] Module helper loaded: mmm-hue-lights [12.10.2023 20:59.23.542] [LOG] No helper found for module: MMM-HolidayLights. [12.10.2023 20:59.23.569] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.569] [LOG] Module helper loaded: MMM-MyStandings [12.10.2023 20:59.23.570] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.570] [LOG] Module helper loaded: MMM-MyScoreboard [12.10.2023 20:59.23.570] [LOG] No helper found for module: clock2. [12.10.2023 20:59.23.570] [LOG] No helper found for module: clock3. [12.10.2023 20:59.23.570] [LOG] No helper found for module: MMM-Xmas. [12.10.2023 20:59.23.570] [WARN] No /Users/patrickhahn/MM/js/../modules/MMM-Snake/MMM-Snake.js found for module: MMM-Snake. [12.10.2023 20:59.23.570] [LOG] No helper found for module: MMM-Snake. [12.10.2023 20:59.23.570] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.570] [LOG] Module helper loaded: MMM-Fitbit2 [12.10.2023 20:59.23.574] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.574] [LOG] Module helper loaded: MMM-SoccerLiveScore [12.10.2023 20:59.23.600] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.600] [LOG] Module helper loaded: MMM-COVID19-SPARKLINE [12.10.2023 20:59.23.641] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.641] [LOG] Module helper loaded: MMM-rfacts [12.10.2023 20:59.23.654] [LOG] Initializing new module helper ... [12.10.2023 20:59.23.655] [LOG] Module helper loaded: MMM-Screencast [12.10.2023 20:59.23.655] [LOG] All module helpers loaded. [12.10.2023 20:59.23.655] [LOG] Starting server on port 8080 ... [12.10.2023 20:59.23.655] [WARN] You're using a full whitelist configuration to allow for all IPs [12.10.2023 20:59.23.657] [LOG] Server started ... [12.10.2023 20:59.23.657] [LOG] Connecting socket for: MMM-Remote-Control [12.10.2023 20:59.23.657] [LOG] Starting node helper for: MMM-Remote-Control [12.10.2023 20:59.23.661] [LOG] Connecting socket for: updatenotification [12.10.2023 20:59.23.661] [LOG] Starting module helper: updatenotification [12.10.2023 20:59.23.661] [LOG] Connecting socket for: calendar [12.10.2023 20:59.23.661] [LOG] Starting node helper for: calendar [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-MyCalendar [12.10.2023 20:59.23.661] [LOG] Starting node helper for: MMM-MyCalendar [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-OpenWeatherForecast [12.10.2023 20:59.23.661] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherForecast] [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-DWD-WarnWeather [12.10.2023 20:59.23.661] [LOG] MMM-DWD-WarnWeather helper started... [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-Sonos [12.10.2023 20:59.23.661] [LOG] Starting module helper: MMM-Sonos [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-TelegramBot [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-AlexaControl [12.10.2023 20:59.23.661] [LOG] MMM-AlexaControl helper, started... [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-DWD-Pollen [12.10.2023 20:59.23.661] [LOG] MMM-DWD-Pollen helper started ... [12.10.2023 20:59.23.661] [LOG] Connecting socket for: MMM-Fuel [12.10.2023 20:59.23.661] [LOG] Starting module helper: MMM-Fuel [12.10.2023 20:59.23.661] [LOG] Connecting socket for: newsfeed [12.10.2023 20:59.23.662] [LOG] Starting node helper for: newsfeed [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-Tado [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-ImagesPhotos [12.10.2023 20:59.23.662] [LOG] Starting node helper for: MMM-ImagesPhotos [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-Lunartic [12.10.2023 20:59.23.662] [LOG] Starting node_helper for: MMM-Lunartic [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-Lunartic2 [12.10.2023 20:59.23.662] [LOG] Starting node_helper for: MMM-Lunartic2 [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-EARTH [12.10.2023 20:59.23.662] [LOG] Starting module: MMM-EARTH [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-MyWastePickup [12.10.2023 20:59.23.662] [LOG] Starting node_helper for module: MMM-MyWastePickup [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-COVID19-Inc [12.10.2023 20:59.23.662] [LOG] Starting node helper for: MMM-COVID19-Inc [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-Todoist [12.10.2023 20:59.23.662] [LOG] Starting node helper for: MMM-Todoist [12.10.2023 20:59.23.662] [LOG] Connecting socket for: mmm-hue-lights [12.10.2023 20:59.23.662] [LOG] Starting node_helper for module [mmm-hue-lights] [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-MyStandings [12.10.2023 20:59.23.662] [LOG] MMM-MyStandings helper started ... [12.10.2023 20:59.23.662] [LOG] Connecting socket for: MMM-MyScoreboard [12.10.2023 20:59.23.662] [LOG] Starting node_helper for module [MMM-MyScoreboard] [12.10.2023 20:59.23.695] [LOG] Connecting socket for: MMM-Fitbit2 [12.10.2023 20:59.23.695] [LOG] Starting module helper: MMM-Fitbit2 [12.10.2023 20:59.23.695] [LOG] Connecting socket for: MMM-SoccerLiveScore [12.10.2023 20:59.23.695] [LOG] Starting node helper for: MMM-SoccerLiveScore [12.10.2023 20:59.23.695] [LOG] Connecting socket for: MMM-COVID19-SPARKLINE [12.10.2023 20:59.23.696] [LOG] Starting node helper for: MMM-COVID19-SPARKLINE [12.10.2023 20:59.23.696] [LOG] Connecting socket for: MMM-rfacts [12.10.2023 20:59.23.696] [LOG] Starting module: MMM-rfacts [12.10.2023 20:59.23.696] [LOG] Connecting socket for: MMM-Screencast [12.10.2023 20:59.23.696] [LOG] Sockets connected & modules started ... 2023-10-12 20:59:23.714 Electron[13999:65212] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES. [12.10.2023 20:59.23.716] [LOG] Launching application. [12.10.2023 20:59.23.889] [ERROR] ERROR! Could not find main module js file for MMM-Lunartic1 [12.10.2023 20:59.25.230] [LOG] Create new calendarfetcher for url: http://p126-caldav.icloud.com/published/2/MjAwMTgyNjQ0NTIwMDE4Mp2LsX_-xfYBCZZDkkcAhmo7RzjFf-TUZWLk0TuOam3UYf6_Am2G7toTrvToJiYzhItBQd6YHovaHHc7VaXkBx4 - Interval: 3600000 [12.10.2023 20:59.25.244] [LOG] Create new calendarfetcher for url: http://p126-caldav.icloud.com/published/2/MjAwMTgyNjQ0NTIwMDE4Mp2LsX_-xfYBCZZDkkcAhmpj-F2SettLCAt0Uv_YZaqGwSNCegMcedybfhqOCaZ6b0DxoMXJSOezr1VmZHWy9-U - Interval: 3600000 [12.10.2023 20:59.25.245] [LOG] Create new calendarfetcher for url: http://p126-caldav.icloud.com/published/2/MjAwMTgyNjQ0NTIwMDE4Mp2LsX_-xfYBCZZDkkcAhmo1PgYX3cXsO3IVusWJ4iKzb4xm1PfKu7EKUkJ-O4aQPdZpBXeb7r60PaikWG0Kp4A - Interval: 3600000 [12.10.2023 20:59.25.245] [LOG] Create new calendarfetcher for url: http://p126-caldav.icloud.com/published/2/MjAwMTgyNjQ0NTIwMDE4Mp2LsX_-xfYBCZZDkkcAhmo7RzjFf-TUZWLk0TuOam3UYf6_Am2G7toTrvToJiYzhItBQd6YHovaHHc7VaXkBx4 - Interval: 300000 [12.10.2023 20:59.25.245] [ERROR] Whoops! There was an uncaught exception... [12.10.2023 20:59.25.245] [ERROR] TypeError: fetch is not a function at fetchCalendar (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:62:14) at CalendarFetcher.startFetch (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:110:3) at Class.createFetcher (/Users/patrickhahn/MM/modules/MMM-MyCalendar/node_helper.js:73:11) at Class.socketNotificationReceived (/Users/patrickhahn/MM/modules/MMM-MyCalendar/node_helper.js:21:9) at Socket.<anonymous> (/Users/patrickhahn/MM/js/node_helper.js:104:11) at Socket.emit (node:events:513:28) at Socket.emitUntyped (/Users/patrickhahn/MM/node_modules/socket.io/dist/typed-events.js:69:22) at /Users/patrickhahn/MM/node_modules/socket.io/dist/socket.js:704:39 at processTicksAndRejections (node:internal/process/task_queues:77:11) [12.10.2023 20:59.25.245] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [12.10.2023 20:59.25.245] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [12.10.2023 20:59.25.245] [LOG] Create new calendarfetcher for url: http://p126-caldav.icloud.com/published/2/MjAwMTgyNjQ0NTIwMDE4Mp2LsX_-xfYBCZZDkkcAhmpj-F2SettLCAt0Uv_YZaqGwSNCegMcedybfhqOCaZ6b0DxoMXJSOezr1VmZHWy9-U - Interval: 300000 [12.10.2023 20:59.25.245] [ERROR] Whoops! There was an uncaught exception... [12.10.2023 20:59.25.246] [ERROR] TypeError: fetch is not a function at fetchCalendar (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:62:14) at CalendarFetcher.startFetch (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:110:3) at Class.createFetcher (/Users/patrickhahn/MM/modules/MMM-MyCalendar/node_helper.js:73:11) at Class.socketNotificationReceived (/Users/patrickhahn/MM/modules/MMM-MyCalendar/node_helper.js:21:9) at Socket.<anonymous> (/Users/patrickhahn/MM/js/node_helper.js:104:11) at Socket.emit (node:events:513:28) at Socket.emitUntyped (/Users/patrickhahn/MM/node_modules/socket.io/dist/typed-events.js:69:22) at /Users/patrickhahn/MM/node_modules/socket.io/dist/socket.js:704:39 at processTicksAndRejections (node:internal/process/task_queues:77:11) [12.10.2023 20:59.25.246] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [12.10.2023 20:59.25.246] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [12.10.2023 20:59.25.246] [LOG] Create new calendarfetcher for url: http://p126-caldav.icloud.com/published/2/MjAwMTgyNjQ0NTIwMDE4Mp2LsX_-xfYBCZZDkkcAhmo1PgYX3cXsO3IVusWJ4iKzb4xm1PfKu7EKUkJ-O4aQPdZpBXeb7r60PaikWG0Kp4A - Interval: 300000 [12.10.2023 20:59.25.246] [ERROR] Whoops! There was an uncaught exception... [12.10.2023 20:59.25.246] [ERROR] TypeError: fetch is not a function at fetchCalendar (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:62:14) at CalendarFetcher.startFetch (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:110:3) at Class.createFetcher (/Users/patrickhahn/MM/modules/MMM-MyCalendar/node_helper.js:73:11) at Class.socketNotificationReceived (/Users/patrickhahn/MM/modules/MMM-MyCalendar/node_helper.js:21:9) at Socket.<anonymous> (/Users/patrickhahn/MM/js/node_helper.js:104:11) at Socket.emit (node:events:513:28) at Socket.emitUntyped (/Users/patrickhahn/MM/node_modules/socket.io/dist/typed-events.js:69:22) at /Users/patrickhahn/MM/node_modules/socket.io/dist/socket.js:704:39 at processTicksAndRejections (node:internal/process/task_queues:77:11)
-
@Stoffbeuteluwe said in Update is not working..I need help please:
20:59.25.245] [ERROR] TypeError: fetch is not a function
at fetchCalendar (/Users/patrickhahn/MM/modules/MMM-MyCalendar/calendarfetcher.js:62:14)don’t know why.
-
@sdetweil
Anyway, thank you very much for your help
greetings from Germany -
@sdetweil
the solution is to change the line 11 an 12 of calendarfetcher.js to this …/*const fetch = require("fetch");*/ /*const digest = require("digest-fetch");*/
now it works :folded_hands: :smiling_face_with_sunglasses: