<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MMM-CalendarExt - Startup problem]]></title><description><![CDATA[<p dir="auto">Im having problem starting my config.js since i added the module MMM-CalendarExt to my Raspberry Pi 3 MM.</p>
<p dir="auto">(I have installed everything recently so all packages are the latest, it runs fine without MMM-CalendarExt part in the config.)</p>
<p dir="auto">These are the errors i get.</p>
<p dir="auto">What can i do to fix this?</p>
<p dir="auto">[2024-11-24 11:18:27.405] [LOG]   Loading module helpers …<br />
[2024-11-24 11:18:28.801] [ERROR] (node:12995) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘valid-url’<br />
Require stack:</p>
<ul>
<li>/home/mt/MagicMirror/modules/MMM-CalendarExt/node_helper.js</li>
<li>/home/mt/MagicMirror/js/app.js</li>
<li>/home/mt/MagicMirror/js/electron.js<br />
at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)<br />
at s._resolveFilename (node:electron/js2c/browser_init:2:121498)<br />
at Module._resolveFilename (/home/mt/MagicMirror/node_modules/module-alias/index.js:49:29)<br />
at Module._load (node:internal/modules/cjs/loader:1058:27)<br />
at c._load (node:electron/js2c/node_init:2:17025)<br />
at Module.require (node:internal/modules/cjs/loader:1318:19)<br />
at require (node:internal/modules/helpers:179:18)<br />
at Object. (/home/mt/MagicMirror/modules/MMM-CalendarExt/node_helper.js:3:18)<br />
at Module._compile (node:internal/modules/cjs/loader:1484:14)<br />
at Module._extensions…js (node:internal/modules/cjs/loader:1564:10)<br />
at Module.load (node:internal/modules/cjs/loader:1295:32)<br />
at Module._load (node:internal/modules/cjs/loader:1111:12)<br />
at c._load (node:electron/js2c/node_init:2:17025)<br />
at Module.require (node:internal/modules/cjs/loader:1318:19)<br />
at require (node:internal/modules/helpers:179:18)<br />
at loadModule (/home/mt/MagicMirror/js/app.js:200:19)<br />
(Use <code>electron --trace-warnings ...</code> to show where the warning was created)<br />
[2024-11-24 11:18:28.808] [ERROR] (node:12995) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag <code>--unhandled-rejections=strict</code> (see <a href="https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode" target="_blank" rel="noopener noreferrer nofollow ugc">https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode</a>). (rejection id: 2)</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/topic/19164/mmm-calendarext-startup-problem</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 12:15:15 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19164.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 24 Nov 2024 11:06:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-CalendarExt - Startup problem on Sun, 24 Nov 2024 12:03:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> I got it working reading some other threads :)</p>
<p dir="auto">Ran these inside the module-folder:</p>
<p dir="auto">npm install request</p>
<p dir="auto">npm install valid-url</p>
<p dir="auto">npm init -y</p>
<p dir="auto">There seems to be some problem though:</p>
<p dir="auto"><strong># npm audit report</strong></p>
<p dir="auto">request  *<br />
Severity: moderate<br />
Server-Side Request Forgery in Request - <a href="https://github.com/advisories/GHSA-p8p7-x288-28g6" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/advisories/GHSA-p8p7-x288-28g6</a><br />
Depends on vulnerable versions of tough-cookie<br />
No fix available<br />
node_modules/request</p>
<p dir="auto">tough-cookie  &lt;4.1.3<br />
Severity: moderate<br />
tough-cookie Prototype Pollution vulnerability - <a href="https://github.com/advisories/GHSA-72xf-g2v4-qvf3" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/advisories/GHSA-72xf-g2v4-qvf3</a><br />
No fix available<br />
node_modules/tough-cookie</p>
<p dir="auto">2 moderate severity vulnerabilities</p>
]]></description><link>https://forum.magicmirror.builders/post/121525</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121525</guid><dc:creator><![CDATA[Bimtronic]]></dc:creator><pubDate>Sun, 24 Nov 2024 12:03:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt - Startup problem on Sat, 30 Nov 2024 21:44:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bimtronic" aria-label="Profile: Bimtronic">@<bdi>Bimtronic</bdi></a> Try MMM-CalendarExt3 instead of MMM-CalendarExt. MMM-CalendarExt is no longer maintained.</p>
]]></description><link>https://forum.magicmirror.builders/post/121619</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121619</guid><dc:creator><![CDATA[KristjanESPERANTO]]></dc:creator><pubDate>Sat, 30 Nov 2024 21:44:01 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt - Startup problem on Sat, 30 Nov 2024 06:38:54 GMT]]></title><description><![CDATA[<p dir="auto">Im struggling to get anything to show in my setup for daily and current bars.<br />
<img src="/assets/uploads/files/1732948018251-mm_view.png" alt="MM_view.PNG" class=" img-fluid img-markdown" /></p>
<p dir="auto">I have three local ics-calendars in my MM-Folder that ive  adressed in my config,  only calendar for “upcoming” bar shows up.</p>
<p dir="auto">Config &gt;</p>
<pre><code>    modules: [

            {
                    module: 'MMM-CalendarExt',
                    position: "top_left",                           //anywhere. It is not related to real position of view
                    config: {                                       // Read below
                      system:{
                                    show: ['daily', 'upcoming', 'current'],
                                      locale: 'sv-SV',                      //when omitted, default value would be your system default locale by moment.js
                                      showEmptyView: 1,
                                      fullDayEventLocalize: 1,
                                      redrawInterval: 30*60*1000,   //minimum 60000
                                      useProfileConfig: 0,
                                      startProfile: ''
                    },
                      defaultView: {
                                      position: 'bottom_bar',
                                      positionOrder: -1,
                                      overflowRolling: 0,
                                      overflowHeight: 0,
                                      overflowDuration: 2,
                                      onlyStartingTime: 0,
                                      timeFormat: 'HH:mm',
                                      dateFormat: "MMM Do",
                                      fullDayEventDateFormat: "MMM Do",
                                      ellipsis: 0,
                                      limit:1,
                                      oneLineEvent:0,
                                      replaceTitle:[],
                                      classPattern:[],
                                      classPatternWhere:["title"],
                                      symbolPattern:[],
                                      symbolPatternWhere:["title"]
                    },
                      views: {

                                            weeks: {
                                                            showWeeks: 1,
                                                            weeksTitle: 'Veckor',
                                                            weeksFormat: 'wo',
                                                            weekdayFormat: 'dd',
                                                            titleFormat : 'MMM D',
                                                            overTitleFormat : 'MMM D',
                                                            counts: 2,
                                                   },
                                            daily: {
                                                        direction: 'row',
                                                        counts: 5,
                                                        titleFormat: "D",
                                                        overTitleFormat: "MMM D",
                                                        subtitleFormat: "ddd",
                                                    },
                                            weekly: {
                                                        direction: 'row',
                                                        counts: 4,
                                                        titleFormat: "wo",
                                                        overTitleFormat: "gggg wo",
                                                        subtitleFormat: "MMM Do",
                                                    },


                                            current: {
                                                        title: 'Aktuell',
                                                        useRelative: 1
                                                    },
                                            upcoming: {
                                                        title: 'Kommande',
                                                        useRelative: 1
                                                    },
                      },
                      defaultCalendar: {
                                              profiles: [],
                                              views: ['daily'],
                                              symbol: "",
                                              styleName: "",
                                              replaceTitle:[],
                                              classPattern: [],
                                              classPatternWhere: ["title"],
                                              symbolPattern: [],
                                              symbolPatternWhere: ["title"],
                                              maxEntries:50,
                                              maxDays:180,
                                              interval: 1800000,
                    },


                      calendars: [
                                              {
                                                name: "Namnsdagar",
                                                url: "webcal://localhost:8080/modules/ics/namedays.ics",
                                                profile: [],
                                                views: ['daily', 'current', 'upcoming'],
                                                styleName: "style1",
                                                symbol: 'us@fi',
                                                maxEntries: 50,
                                                maxDays:365,
                                                interval: 24*60*60*1000,
                                              },
                                              {
                                                name: "Helgdagar",
                                                url: "webcal://localhost:8080/modules/ics/se_holidays.ics",
                                                profile: [],
                                                views: ['daily', 'current', 'upcoming'],
                                                styleName: "style1",
                                                symbol: 'se@fi',
                                                maxEntries: 50,
                                                maxDays:365,
                                                interval: 24*60*60*1000,
                                              },
                                              {
                                                name: "Ansvarsvecka",
                                                url: "webcal://localhost:8080/modules/ics/Ansvarsvecka.ics",
                                                profile: [],
                                                views: ['daily', 'current', 'upcoming'],
                                                styleName: "style1",
                                                symbol: 'se@fi',
                                                maxEntries: 50,
                                                maxDays:365,
                                                interval: 24*60*60*1000,
                                              },
                                    ],

                      }
                    },

           {
                    module: "calendar",
                    header: "Helgdagar",
                    position: "top_left",
                    config: {
                            calendars: [
                                    {
                                            fetchInterval: 7 * 24 * 60 * 60 * 1000,
                                            symbol: "calendar-check",
                                            url: "webcal://localhost:8080/modules/ics/se_holidays.ics"
                                    }
                            ]
                    }
            },
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/121605</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121605</guid><dc:creator><![CDATA[Bimtronic]]></dc:creator><pubDate>Sat, 30 Nov 2024 06:38:54 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt - Startup problem on Sun, 24 Nov 2024 12:23:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bimtronic" aria-label="Profile: Bimtronic">@<bdi>Bimtronic</bdi></a> MMM-CalendarExt3 is the latest and gets the data from the default calendar, so it doesn’t have this problem</p>
]]></description><link>https://forum.magicmirror.builders/post/121527</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121527</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 24 Nov 2024 12:23:47 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt - Startup problem on Sun, 24 Nov 2024 12:21:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bimtronic" aria-label="Profile: Bimtronic">@<bdi>Bimtronic</bdi></a> ignore the audit reports, nothing you can do about them. part of the reason request is deprecated.</p>
]]></description><link>https://forum.magicmirror.builders/post/121526</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121526</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 24 Nov 2024 12:21:58 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt - Startup problem on Sun, 24 Nov 2024 12:03:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> I got it working reading some other threads :)</p>
<p dir="auto">Ran these inside the module-folder:</p>
<p dir="auto">npm install request</p>
<p dir="auto">npm install valid-url</p>
<p dir="auto">npm init -y</p>
<p dir="auto">There seems to be some problem though:</p>
<p dir="auto"><strong># npm audit report</strong></p>
<p dir="auto">request  *<br />
Severity: moderate<br />
Server-Side Request Forgery in Request - <a href="https://github.com/advisories/GHSA-p8p7-x288-28g6" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/advisories/GHSA-p8p7-x288-28g6</a><br />
Depends on vulnerable versions of tough-cookie<br />
No fix available<br />
node_modules/request</p>
<p dir="auto">tough-cookie  &lt;4.1.3<br />
Severity: moderate<br />
tough-cookie Prototype Pollution vulnerability - <a href="https://github.com/advisories/GHSA-72xf-g2v4-qvf3" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/advisories/GHSA-72xf-g2v4-qvf3</a><br />
No fix available<br />
node_modules/tough-cookie</p>
<p dir="auto">2 moderate severity vulnerabilities</p>
]]></description><link>https://forum.magicmirror.builders/post/121525</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121525</guid><dc:creator><![CDATA[Bimtronic]]></dc:creator><pubDate>Sun, 24 Nov 2024 12:03:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt - Startup problem on Sun, 24 Nov 2024 11:25:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bimtronic" aria-label="Profile: Bimtronic">@<bdi>Bimtronic</bdi></a> see<br />
<a href="https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later">https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later</a></p>
]]></description><link>https://forum.magicmirror.builders/post/121524</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121524</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 24 Nov 2024 11:25:40 GMT</pubDate></item></channel></rss>