<?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[Default calendary broke on v2.22.0 update]]></title><description><![CDATA[<p dir="auto">Upon starting Magicmirror, I’m met with the following errors:</p>
<pre><code>[ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/MagicMirror/node_modules/axios/index.js:1
import axios from './lib/axios.js';
       ^^^^^
SyntaxError: Unexpected identifier
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
[ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
</code></pre>
<p dir="auto">I disabled addons until I could get Magicmirror to launch properly and found it was the default calendar module that was the issue with the config as follows:</p>
<pre><code>{
module: "calendar",
  position: "top_left",
  disabled: false,
  config: {
    MaxTitleLength: 50,
    hideTime: true,
    maximumEntries: 10,
    showEnd: false,
    timeFormat: 'absolute',
    displaySymbol: false,
    getRelative: 48,
    fade: false,
    urgency: 7,
    titleReplace: {
        '(regional holiday)' : '',
        'Words word words'  : '',
        'More words words' : '',
        'Wooooorrrds' : ''
    },
    nextDaysRelative: true,
    calendars: [
        {
            url: "https://calendar.google.com/calendar/ical/en.canadian%23holiday%40group.v.calendar.google.com/public/basic.ics",
        },
        {
            url: "https://calendar.google.com/calendar/ical/%40gmail.com/private-/basic.ics"
        },
        {
            url: "https://othermoredifferent.com/calendar/8C3446E21A9A4D5F42BD67625622D4E0.ics"
        }
    ],
    excludedEvents: [
        'Quebec','Prince Edward Island','Manitoba','Nova Scotia','Yukon','Alberta','British Columbia', 'Saskatchewan','Newfoundland and Labrador','Nunavut','New Brunswick','Commonwealth','Tartan','Vimy Ridge', 'Indigenous',''
        ],
    }
},
</code></pre>
<p dir="auto">I tried commenting out everything except the public google calendar and even all the default config settings but it still fails to load. Any ideas why?</p>
]]></description><link>https://forum.magicmirror.builders/topic/17496/default-calendary-broke-on-v2-22-0-update</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 10:57:09 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17496.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Jan 2023 02:53:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Default calendary broke on v2.22.0 update on Mon, 02 Jan 2023 04:55:27 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> said in <a href="/post/106814">Default calendary broke on v2.22.0 update</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apathia" aria-label="Profile: Apathia">@<bdi>Apathia</bdi></a> sounds like the npm install was not successful.</p>
</blockquote>
<p dir="auto">You are probably correct. After it failing even after going to the helper module directory and running npm install again, I decided to update both npm and nodejs which fixed the issue. I was on npm v7.21 and node v10.24, now on npm v9.2 and node v16.10.</p>
]]></description><link>https://forum.magicmirror.builders/post/106819</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106819</guid><dc:creator><![CDATA[Apathia]]></dc:creator><pubDate>Mon, 02 Jan 2023 04:55:27 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendary broke on v2.22.0 update on Mon, 02 Jan 2023 04:02:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apathia" aria-label="Profile: Apathia">@<bdi>Apathia</bdi></a> sounds like the npm install was not successful.</p>
]]></description><link>https://forum.magicmirror.builders/post/106814</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106814</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 02 Jan 2023 04:02:12 GMT</pubDate></item></channel></rss>