<?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[After update 2.23.0 crash]]></title><description><![CDATA[<p dir="auto">After the update.</p>
<p dir="auto">error at reboot</p>
<pre><code>pi@raspberrypi:~/MagicMirror $ npm start

&gt; magicmirror@2.23.0 start
&gt; DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

App threw an error during load
Error: Cannot find module 'envsub'
Require stack:
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- 
    at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
    at n._resolveFilename (node:electron/js2c/browser_init:2:109416)
    at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
    at Module._load (node:internal/modules/cjs/loader:811:27)
    at f._load (node:electron/js2c/asar_bundle:2:13328)
    at Module.require (node:internal/modules/cjs/loader:1035:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/js/app.js:13:16)
    at Module._compile (node:internal/modules/cjs/loader:1141:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'envsub'
Require stack:
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- 
    at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
    at n._resolveFilename (node:electron/js2c/browser_init:2:109416)
    at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
    at Module._load (node:internal/modules/cjs/loader:811:27)
    at f._load (node:electron/js2c/asar_bundle:2:13328)
    at Module.require (node:internal/modules/cjs/loader:1035:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/js/app.js:13:16)
    at Module._compile (node:internal/modules/cjs/loader:1141:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load swrast driver
</code></pre>
<p dir="auto">Please help</p>
]]></description><link>https://forum.magicmirror.builders/topic/17709/after-update-2-23-0-crash</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 09:24:21 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17709.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Apr 2023 20:11:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 12 Apr 2023 12:13:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/danclarkcbet3" aria-label="Profile: DanClarkCBET3">@<bdi>DanClarkCBET3</bdi></a> a fix has been pushed to the develop branch for the next release. the code is different</p>
<p dir="auto">to test the develop branch see<br />
<a href="https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code">https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code</a></p>
]]></description><link>https://forum.magicmirror.builders/post/108836</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108836</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 12 Apr 2023 12:13:34 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Tue, 11 Apr 2023 18:57:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/danclarkcbet3" aria-label="Profile: DanClarkCBET3">@<bdi>DanClarkCBET3</bdi></a> ctrl-m will minimize</p>
]]></description><link>https://forum.magicmirror.builders/post/108833</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108833</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 11 Apr 2023 18:57:03 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Tue, 11 Apr 2023 18:46:25 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>  Thanks for the link. The suggested changes corrected my problem. Now the only problem I have is that the Alt key is not working but that is not a big problem.</p>
]]></description><link>https://forum.magicmirror.builders/post/108832</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108832</guid><dc:creator><![CDATA[DanClarkCBET3]]></dc:creator><pubDate>Tue, 11 Apr 2023 18:46:25 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Tue, 11 Apr 2023 17:20:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/danclarkcbet3" aria-label="Profile: DanClarkCBET3">@<bdi>DanClarkCBET3</bdi></a>  yes, there is a reported issue on Windows<br />
<a href="https://github.com/MichMich/MagicMirror/issues/3083" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/issues/3083</a></p>
<p dir="auto">I was able to change some code (listed) to resolve it, but so far it only fails on windows. so we are not sure of the cause.</p>
<p dir="auto">no fix currently planned</p>
]]></description><link>https://forum.magicmirror.builders/post/108831</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108831</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 11 Apr 2023 17:20:20 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Tue, 11 Apr 2023 15:11:34 GMT]]></title><description><![CDATA[<p dir="auto">After installing the latest update (04/11/2023 10:00) I can not get Magic Mirror to start on my Windows systems. In this case I’m using the default CSS and config with no added modules. See attached photo.  Please help.<img src="/assets/uploads/files/1681225888002-mm2_23.png" alt="MM2_23.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/108830</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108830</guid><dc:creator><![CDATA[DanClarkCBET3]]></dc:creator><pubDate>Tue, 11 Apr 2023 15:11:34 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Mon, 10 Apr 2023 20:44:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hrjmsh" aria-label="Profile: hrjmsh">@<bdi>hrjmsh</bdi></a> Thank you so much!!!  (rm -rf node_modules and then npm install again) worked like a charm!</p>
]]></description><link>https://forum.magicmirror.builders/post/108821</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108821</guid><dc:creator><![CDATA[Techneek]]></dc:creator><pubDate>Mon, 10 Apr 2023 20:44:16 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Sun, 09 Apr 2023 15:30:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hrjmsh" aria-label="Profile: hrjmsh">@<bdi>hrjmsh</bdi></a> can u send me the MagicMirror/installers/upgrade.log</p>
<p dir="auto">same userid at gmail</p>
<p dir="auto">never seen this problem</p>
]]></description><link>https://forum.magicmirror.builders/post/108794</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108794</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 09 Apr 2023 15:30:12 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Sun, 09 Apr 2023 15:26:44 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 did, both with and without changes applied. Unfortunately, it didn’t work for me. The only thing that worked was the solution you provided by removing the node_modules and then reinstalling npm.</p>
]]></description><link>https://forum.magicmirror.builders/post/108793</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108793</guid><dc:creator><![CDATA[hrjmsh]]></dc:creator><pubDate>Sun, 09 Apr 2023 15:26:44 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Sat, 08 Apr 2023 23:30:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hrjmsh" aria-label="Profile: hrjmsh">@<bdi>hrjmsh</bdi></a> you should use my upgrade script</p>
]]></description><link>https://forum.magicmirror.builders/post/108787</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108787</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 08 Apr 2023 23:30:24 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Sat, 08 Apr 2023 22:19:11 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> Thank you very much. Had the same error (cannot find module envsub) on updating the MagicMirror to the new version and this step  (rm -rf node_modules and then npm install again) solved the issue for me.</p>
]]></description><link>https://forum.magicmirror.builders/post/108785</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108785</guid><dc:creator><![CDATA[hrjmsh]]></dc:creator><pubDate>Sat, 08 Apr 2023 22:19:11 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Thu, 06 Apr 2023 21:42:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jerryp" aria-label="Profile: JerryP">@<bdi>JerryP</bdi></a> said in <a href="/post/108632">After update 2.23.0 crash</a>:</p>
<blockquote>
<p dir="auto">sudo git pull</p>
</blockquote>
<p dir="auto">just one more thing</p>
<p dir="auto">NEVER use  sudo with MM no need for it.<br />
all it does is lead to trouble</p>
]]></description><link>https://forum.magicmirror.builders/post/108701</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108701</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 06 Apr 2023 21:42:59 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 23:20:40 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> Perfect, fixed it. Thanks!</p>
]]></description><link>https://forum.magicmirror.builders/post/108689</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108689</guid><dc:creator><![CDATA[Wenike]]></dc:creator><pubDate>Wed, 05 Apr 2023 23:20:40 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 15:34:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joefranz" aria-label="Profile: JoeFranz">@<bdi>JoeFranz</bdi></a></p>
<p dir="auto">the script does a new npm install in modules that have a package.json</p>
<p dir="auto">but I know the post install process is wrong for this module</p>
<p dir="auto">my fork fixes that<br />
<a href="https://github.com/sdetweil/MMM-PIR-Sensor" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-PIR-Sensor</a></p>
]]></description><link>https://forum.magicmirror.builders/post/108682</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108682</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 05 Apr 2023 15:34:45 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 15:19:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wenike" aria-label="Profile: Wenike">@<bdi>Wenike</bdi></a> do this</p>
<p dir="auto">from a terminal window</p>
<pre><code>ps -ef | grep node
</code></pre>
<p dir="auto">this will show you the node processes running and parms to what they are running (file path)</p>
<p dir="auto">if all looks understandable and u can’t terminate them thru app shutdown (pm2 stop all will stop all.managed apps, mm included), do</p>
<pre><code>ps -ef | grep node | awk '{ print $2 }' | xargs kill -9
</code></pre>
<p dir="auto">this will hard kill all the node processes</p>
]]></description><link>https://forum.magicmirror.builders/post/108677</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108677</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 05 Apr 2023 15:19:30 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 14:53:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jerryp" aria-label="Profile: JerryP">@<bdi>JerryP</bdi></a> Always use Sam’s <a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">update script</a>. I used it last night and updated from 2.21.0 to 2.23.0 no issues. Often modules with a package.json requires an npm install in that folder and the upgrade script takes care of all of that.</p>
]]></description><link>https://forum.magicmirror.builders/post/108676</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108676</guid><dc:creator><![CDATA[mumblebaj]]></dc:creator><pubDate>Wed, 05 Apr 2023 14:53:34 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 13:11:10 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> By chance, do you know of a command I can run to kill any running Node processes? I’m trying to run your upgrade script and its unable to upgrade Node because a process is already running. Googling gives me code to use within an application but that doesn’t seem like it’ll work from the CLI.</p>
<pre><code>doing test run = false
update log will be in /home/pi/MagicMirror/installers/upgrade.log
Check current Node installation ...
Node currently installed. Checking version number.
Minimum Node version: v16.13.1
Installed Node version: v10.24.1
Node should be upgraded.
A Node process is currently running. Can't upgrade.
Please quit all Node processes and restart the update.
running process(s) are
pi 881 879 0 09:05 ? 00:00:00 node ./node_modules/.bin/electron js/electron.js
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/108674</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108674</guid><dc:creator><![CDATA[Wenike]]></dc:creator><pubDate>Wed, 05 Apr 2023 13:11:10 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 12:44:25 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> MMM-PIR-Sensor</p>
]]></description><link>https://forum.magicmirror.builders/post/108673</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108673</guid><dc:creator><![CDATA[JoeFranz]]></dc:creator><pubDate>Wed, 05 Apr 2023 12:44:25 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 10:42:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joefranz" aria-label="Profile: JoeFranz">@<bdi>JoeFranz</bdi></a> on what module?</p>
]]></description><link>https://forum.magicmirror.builders/post/108670</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108670</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 05 Apr 2023 10:42:15 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 07:21:56 GMT]]></title><description><![CDATA[<p dir="auto">I ran “electron-rebuild”, now it works again :-)</p>
]]></description><link>https://forum.magicmirror.builders/post/108668</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108668</guid><dc:creator><![CDATA[JoeFranz]]></dc:creator><pubDate>Wed, 05 Apr 2023 07:21:56 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 05:03:56 GMT]]></title><description><![CDATA[<p dir="auto">Same here, error after Update :-(<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Update with your script</p>
<p dir="auto">(Use <code>electron --trace-warnings ...</code> to show where the warning was created)<br />
[05.04.2023 07:02.12.571] [ERROR] (node:4893) 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)<br />
[4932:0405/070214.077646:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization<br />
[4962:0405/070214.418104:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.</p>
]]></description><link>https://forum.magicmirror.builders/post/108667</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108667</guid><dc:creator><![CDATA[JoeFranz]]></dc:creator><pubDate>Wed, 05 Apr 2023 05:03:56 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 00:48:25 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> ctrl m worked thanks Sam!</p>
]]></description><link>https://forum.magicmirror.builders/post/108664</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108664</guid><dc:creator><![CDATA[swvalenti]]></dc:creator><pubDate>Wed, 05 Apr 2023 00:48:25 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 00:48:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/swvalenti" aria-label="Profile: swvalenti">@<bdi>swvalenti</bdi></a> alt-spacebar, or ctrl-m</p>
<p dir="auto">ctrl-q to quit,  if not using pm2.<br />
pm2 will just restart it</p>
]]></description><link>https://forum.magicmirror.builders/post/108663</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108663</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 05 Apr 2023 00:48:45 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 00:37:51 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> You are the man worked like a charm.  Only thing I noticed when running on windows “alt” does not bring the toolbar up in order to quit MM.  Did anything change?</p>
]]></description><link>https://forum.magicmirror.builders/post/108662</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108662</guid><dc:creator><![CDATA[swvalenti]]></dc:creator><pubDate>Wed, 05 Apr 2023 00:37:51 GMT</pubDate></item><item><title><![CDATA[Reply to After update 2.23.0 crash on Wed, 05 Apr 2023 00:47:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/swvalenti" aria-label="Profile: swvalenti">@<bdi>swvalenti</bdi></a> ok , because you had already done upgrade on this instance. apply doesnt do anything</p>
<p dir="auto">do force<br />
at the end instead of apply</p>
]]></description><link>https://forum.magicmirror.builders/post/108661</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108661</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 05 Apr 2023 00:47:38 GMT</pubDate></item></channel></rss>