<?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[Magic Mirror Update fail]]></title><description><![CDATA[<p dir="auto">I just attempted to update to the latest version of Magic Mirror, and now I can’t get it to start…  Can anyone provide any suggestions?  Here is what I am seeing now:</p>
<p dir="auto">pi@raspberrypi:~/MagicMirror $ npm run start</p>
<blockquote>
<p dir="auto">magicmirror@2.25.0 start<br />
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js</p>
</blockquote>
<p dir="auto">[03.10.2023 12:06.38.811] [LOG]   Starting MagicMirror: v2.25.0<br />
[03.10.2023 12:06.38.822] [LOG]   Loading config …<br />
[03.10.2023 12:06.38.825] [DEBUG] config template file not exists, no envsubst<br />
[03.10.2023 12:06.38.829] [LOG]   Loading module helpers …<br />
[03.10.2023 12:06.38.831] [LOG]   No helper found for module: alert.<br />
[03.10.2023 12:06.38.868] [LOG]   Initializing new module helper …<br />
[03.10.2023 12:06.38.870] [LOG]   Module helper loaded: updatenotification<br />
[03.10.2023 12:06.38.871] [LOG]   No helper found for module: clock.<br />
[03.10.2023 12:06.39.093] [LOG]   Initializing new module helper …<br />
[03.10.2023 12:06.39.094] [LOG]   Module helper loaded: calendar<br />
[03.10.2023 12:06.39.095] [LOG]   No helper found for module: calendar_monthly.<br />
[03.10.2023 12:06.39.099] [LOG]   Initializing new module helper …<br />
[03.10.2023 12:06.39.100] [LOG]   Module helper loaded: MMM-Pir<br />
[03.10.2023 12:06.39.104] [ERROR] (node:2935) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘node-fetch’<br />
Require stack:</p>
<ul>
<li>/home/pi/MagicMirror/modules/MMM-Weather/node_helper.js</li>
<li>/home/pi/MagicMirror/js/app.js</li>
<li>/home/pi/MagicMirror/js/electron.js</li>
<li>/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js</li>
<li>at node:internal/modules/cjs/loader:1084:15<br />
at Function. (node:electron/js2c/browser_init:2:117419)<br />
at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)<br />
at node:internal/modules/cjs/loader:929:27<br />
at Function._load (node:electron/js2c/asar_bundle:2:13327)<br />
at Module.require (node:internal/modules/cjs/loader:1150:19)<br />
at require (node:internal/modules/cjs/helpers:110:18)<br />
at Object. (/home/pi/MagicMirror/modules/MMM-Weather/node_helper.js:11:15)<br />
at Module._compile (node:internal/modules/cjs/loader:1271:14)<br />
at Object…js (node:internal/modules/cjs/loader:1326:10)<br />
at Module.load (node:internal/modules/cjs/loader:1126:32)<br />
at node:internal/modules/cjs/loader:967:12<br />
at Function._load (node:electron/js2c/asar_bundle:2:13327)<br />
at Module.require (node:internal/modules/cjs/loader:1150:19)<br />
at require (node:internal/modules/cjs/helpers:110:18)<br />
at loadModule (/home/pi/MagicMirror/js/app.js:180:19)<br />
(Use <code>electron --trace-warnings ...</code> to show where the warning was created)<br />
[03.10.2023 12:06.39.104] [ERROR] (node:2935) 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: 1)<br />
WARNING: v3dv is neither a complete nor a conformant Vulkan implementation. Testing use only.<br />
[2935:1003/120639.849727:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.portal.Error.NotFound: Requested setting not found<br />
MESA-LOADER: failed to retrieve device information<br />
MESA-LOADER: failed to retrieve device information<br />
MESA-LOADER: failed to retrieve device information<br />
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)<br />
failed to load driver: kms_swrast<br />
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)<br />
failed to load swrast driver</li>
</ul>
<p dir="auto">…and it just sits there…  Can anyone help me to decipher these messages?  Thanks…</p>
]]></description><link>https://forum.magicmirror.builders/topic/18043/magic-mirror-update-fail</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 22:34:28 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18043.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Oct 2023 17:31:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Magic Mirror Update fail on Tue, 03 Oct 2023 21:29:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a></p>
<p dir="auto">Success!  I ran the following command:</p>
<p dir="auto">npm install node-fetch@2</p>
<p dir="auto">… and now it’s back up and running again!  Thanks for the quick response!</p>
]]></description><link>https://forum.magicmirror.builders/post/111296</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111296</guid><dc:creator><![CDATA[Freddy_boy]]></dc:creator><pubDate>Tue, 03 Oct 2023 21:29:50 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Update fail on Tue, 03 Oct 2023 21:28:10 GMT]]></title><description><![CDATA[<p dir="auto">it also looks like the module isn’t supported anymore, at least the original is “Public archive” status - It’s a <a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: bugsounet">@<bdi>bugsounet</bdi></a> module, so I’d suggest going over to <a href="https://forum.bugsounet.fr/" target="_blank" rel="noopener noreferrer nofollow ugc">https://forum.bugsounet.fr/</a> for support if any is given.</p>
]]></description><link>https://forum.magicmirror.builders/post/111295</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111295</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Tue, 03 Oct 2023 21:28:10 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Update fail on Tue, 03 Oct 2023 21:22:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/freddy_boy" aria-label="Profile: Freddy_boy">@<bdi>Freddy_boy</bdi></a></p>
<p dir="auto"><code>npm install node-fetch</code> will install the latest version which is a <code>v3.x</code></p>
<p dir="auto">mm does not support typescript and so needs a <code>v2.x</code> version.</p>
<p dir="auto">you have to look up the latest <code>v2.x</code> release and install this. This is a problem of <code>MMM-Weather</code> and should be fixed there.</p>
]]></description><link>https://forum.magicmirror.builders/post/111294</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111294</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Tue, 03 Oct 2023 21:22:33 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Update fail on Tue, 03 Oct 2023 21:00:33 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></p>
<p dir="auto">Ok.  I went to my /home/pi/MagicMirror/modules/MMM-Weather/ folder and I ran the ‘npm install node-fetch’ command.  I am getting a different error now:</p>
<p dir="auto">pi@raspberrypi:~/MagicMirror $ npm run start</p>
<blockquote>
<p dir="auto">magicmirror@2.25.0 start<br />
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js</p>
</blockquote>
<p dir="auto">[03.10.2023 16:57.03.945] [LOG]   Starting MagicMirror: v2.25.0<br />
[03.10.2023 16:57.03.956] [LOG]   Loading config …<br />
[03.10.2023 16:57.03.958] [DEBUG] config template file not exists, no envsubst<br />
[03.10.2023 16:57.03.962] [LOG]   Loading module helpers …<br />
[03.10.2023 16:57.03.964] [LOG]   No helper found for module: alert.<br />
[03.10.2023 16:57.03.998] [LOG]   Initializing new module helper …<br />
[03.10.2023 16:57.04.001] [LOG]   Module helper loaded: updatenotification<br />
[03.10.2023 16:57.04.004] [LOG]   No helper found for module: clock.<br />
[03.10.2023 16:57.04.238] [LOG]   Initializing new module helper …<br />
[03.10.2023 16:57.04.239] [LOG]   Module helper loaded: calendar<br />
[03.10.2023 16:57.04.240] [LOG]   No helper found for module: calendar_monthly.<br />
[03.10.2023 16:57.04.244] [LOG]   Initializing new module helper …<br />
[03.10.2023 16:57.04.245] [LOG]   Module helper loaded: MMM-Pir<br />
[03.10.2023 16:57.04.342] [ERROR] (node:3203) UnhandledPromiseRejectionWarning: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/pi/MagicMirror/modules/MMM-Weather/node_modules/node-fetch/src/index.js from /home/pi/MagicMirror/modules/MMM-Weather/node_helper.js not supported.<br />
Instead change the require of index.js in /home/pi/MagicMirror/modules/MMM-Weather/node_helper.js to a dynamic import() which is available in all CommonJS modules.<br />
at Function._load (node:electron/js2c/asar_bundle:2:13327)<br />
at Object. (/home/pi/MagicMirror/modules/MMM-Weather/node_helper.js:11:15)<br />
at Function._load (node:electron/js2c/asar_bundle:2:13327)<br />
at loadModule (/home/pi/MagicMirror/js/app.js:180:19)<br />
at loadModules (/home/pi/MagicMirror/js/app.js:210:10)<br />
at async App.start (/home/pi/MagicMirror/js/app.js:258:3)<br />
(Use <code>electron --trace-warnings ...</code> to show where the warning was created)<br />
[03.10.2023 16:57.04.342] [ERROR] (node:3203) 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: 1)<br />
WARNING: v3dv is neither a complete nor a conformant Vulkan implementation. Testing use only.<br />
[3203:1003/165705.081300:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.portal.Error.NotFound: Requested setting not found<br />
MESA-LOADER: failed to retrieve device information<br />
MESA-LOADER: failed to retrieve device information<br />
MESA-LOADER: failed to retrieve device information<br />
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)<br />
failed to load driver: kms_swrast<br />
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)<br />
failed to load swrast driver</p>
]]></description><link>https://forum.magicmirror.builders/post/111293</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111293</guid><dc:creator><![CDATA[Freddy_boy]]></dc:creator><pubDate>Tue, 03 Oct 2023 21:00:33 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Update fail on Tue, 03 Oct 2023 20:24:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/freddy_boy" aria-label="Profile: Freddy_boy">@<bdi>Freddy_boy</bdi></a> said in <a href="/post/111290">Magic Mirror Update fail</a>:</p>
<blockquote>
<p dir="auto">The procedure continues to indicate that I need to change directories to the module that is having the problem,  but it doesn’t exist…</p>
</blockquote>
<p dir="auto">I don’t understand</p>
<p dir="auto">/home/pi/MagicMirror/modules/MMM-Weather/</p>
<p dir="auto">is the module having trouble…</p>
<p dir="auto">that is the folder to be active for the rest of my instructions</p>
]]></description><link>https://forum.magicmirror.builders/post/111291</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111291</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 03 Oct 2023 20:24:57 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Update fail on Tue, 03 Oct 2023 20:16:12 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><br />
Thanks for the reply…  I’ve gone to my MagicMirror/modules folder, and I can confirm that there is no module called ‘node-fetch’.  Your post indicates that to fix this, the library needs to be installed in the module folder.  The procedure continues to indicate that I need to change directories to the module that is having the problem…  but it doesn’t exist…?  Am I reading this correctly?</p>
]]></description><link>https://forum.magicmirror.builders/post/111290</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111290</guid><dc:creator><![CDATA[Freddy_boy]]></dc:creator><pubDate>Tue, 03 Oct 2023 20:16:12 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Update fail on Tue, 03 Oct 2023 18:09:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/freddy_boy" aria-label="Profile: Freddy_boy">@<bdi>Freddy_boy</bdi></a> said in <a href="/post/111271">Magic Mirror Update fail</a>:</p>
<blockquote>
<p dir="auto">Cannot find module ‘node-fetch’</p>
</blockquote>
<p dir="auto">this library was removed from the base in 2.25</p>
<p dir="auto">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/111272</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111272</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 03 Oct 2023 18:09:31 GMT</pubDate></item></channel></rss>