<?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[Error with node fetch for calendar on fresh install]]></title><description><![CDATA[<p dir="auto">Hello.</p>
<p dir="auto">After update, most of module cause some trouble from start. So, black screen…</p>
<p dir="auto">I do a fresh install, without module, and i always have error on start :</p>
<pre><code>[22.01.2022 22:41.16.390] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/pi/MagicMirror/node_modules/node-fetch/src/index.js from /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js not supported.
Instead change the require of index.js in /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js to a dynamic import() which is available in all CommonJS modules.
</code></pre>
<p dir="auto">I can search on google, but i don’t find anything to resolve that… Do you have an idea ?</p>
]]></description><link>https://forum.magicmirror.builders/topic/16243/error-with-node-fetch-for-calendar-on-fresh-install</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 14:01:23 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/16243.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 Jan 2022 10:51:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error with node fetch for calendar on fresh install on Sun, 23 Jan 2022 13:37:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/landaisbenj" aria-label="Profile: landaisbenj">@<bdi>landaisbenj</bdi></a> don’t know. my upgrade script tries to take care of all the extra details</p>
<p dir="auto">see</p>
<p dir="auto"><a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a></p>
]]></description><link>https://forum.magicmirror.builders/post/98912</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98912</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 23 Jan 2022 13:37:41 GMT</pubDate></item><item><title><![CDATA[Reply to Error with node fetch for calendar on fresh install on Mon, 24 Jan 2022 17:35:41 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 would assume that the user may have installed a newer version. MM requires 2.6.6 which is not the ES version I think they changed from v3 onwards.</p>
]]></description><link>https://forum.magicmirror.builders/post/98970</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98970</guid><dc:creator><![CDATA[mumblebaj]]></dc:creator><pubDate>Mon, 24 Jan 2022 17:35:41 GMT</pubDate></item><item><title><![CDATA[Reply to Error with node fetch for calendar on fresh install on Mon, 24 Jan 2022 17:33:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mumblebaj" aria-label="Profile: mumblebaj">@<bdi>mumblebaj</bdi></a> but how did that happen?  MM asks for newer, but module wants older?</p>
]]></description><link>https://forum.magicmirror.builders/post/98969</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98969</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 24 Jan 2022 17:33:25 GMT</pubDate></item><item><title><![CDATA[Reply to Error with node fetch for calendar on fresh install on Mon, 24 Jan 2022 16:50:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/landaisbenj" aria-label="Profile: landaisbenj">@<bdi>landaisbenj</bdi></a> I have seen this error before. It comes from installing the latest version of node-fetch whereas the module uses an older version of node-fetch. The latest version is an ES module and must be <code>import</code>’d instead of  <code>require</code>’d  in the node_helper.</p>
]]></description><link>https://forum.magicmirror.builders/post/98964</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98964</guid><dc:creator><![CDATA[mumblebaj]]></dc:creator><pubDate>Mon, 24 Jan 2022 16:50:21 GMT</pubDate></item><item><title><![CDATA[Reply to Error with node fetch for calendar on fresh install on Sun, 23 Jan 2022 16:48:59 GMT]]></title><description><![CDATA[<p dir="auto">All my module work. Thanks a lot… I’m on this by a few day…</p>
]]></description><link>https://forum.magicmirror.builders/post/98922</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98922</guid><dc:creator><![CDATA[landaisbenj]]></dc:creator><pubDate>Sun, 23 Jan 2022 16:48:59 GMT</pubDate></item><item><title><![CDATA[Reply to Error with node fetch for calendar on fresh install on Sun, 23 Jan 2022 15:42:22 GMT]]></title><description><![CDATA[<p dir="auto">OMG It’s really helpfull… Need to be the first way on documentation… Ok, it work, i try now to réinstall all my modules.</p>
]]></description><link>https://forum.magicmirror.builders/post/98917</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98917</guid><dc:creator><![CDATA[landaisbenj]]></dc:creator><pubDate>Sun, 23 Jan 2022 15:42:22 GMT</pubDate></item><item><title><![CDATA[Reply to Error with node fetch for calendar on fresh install on Sun, 23 Jan 2022 13:59:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/landaisbenj" aria-label="Profile: landaisbenj">@<bdi>landaisbenj</bdi></a> move the existing mm folder out of the way if doing install</p>
<pre><code>cd ~
mv MagicMirror MagicMirror.save
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/98915</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98915</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 23 Jan 2022 13:59:06 GMT</pubDate></item><item><title><![CDATA[Reply to Error with node fetch for calendar on fresh install on Sun, 23 Jan 2022 13:57:23 GMT]]></title><description><![CDATA[<p dir="auto">Ok si i could try with your script today. I follow instruction on documentation.</p>
]]></description><link>https://forum.magicmirror.builders/post/98914</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98914</guid><dc:creator><![CDATA[landaisbenj]]></dc:creator><pubDate>Sun, 23 Jan 2022 13:57:23 GMT</pubDate></item><item><title><![CDATA[Reply to Error with node fetch for calendar on fresh install on Sun, 23 Jan 2022 13:38:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/landaisbenj" aria-label="Profile: landaisbenj">@<bdi>landaisbenj</bdi></a> never seen this using my install script</p>
]]></description><link>https://forum.magicmirror.builders/post/98913</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98913</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 23 Jan 2022 13:38:37 GMT</pubDate></item><item><title><![CDATA[Reply to Error with node fetch for calendar on fresh install on Sun, 23 Jan 2022 13:37:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/landaisbenj" aria-label="Profile: landaisbenj">@<bdi>landaisbenj</bdi></a> don’t know. my upgrade script tries to take care of all the extra details</p>
<p dir="auto">see</p>
<p dir="auto"><a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a></p>
]]></description><link>https://forum.magicmirror.builders/post/98912</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98912</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 23 Jan 2022 13:37:41 GMT</pubDate></item></channel></rss>