<?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[Cannot find module &#x27;module-alias&#x2F;register&#x27;]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">since two days now, I keep getting this error-message when (re)starting MagicMirror:</p>
<pre><code>App threw an error during load
Error: Cannot find module 'module-alias/register'
    at Module._resolveFilename (module.js:455:15)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/js/app.js:15:1)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'module-alias/register'
    at Module._resolveFilename (module.js:455:15)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/js/app.js:15:1)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)

</code></pre>
<p dir="auto">On a regular base I make a git fetch etc. to make sure MagicMirror is up to date. This morning somehow it wouldn’t start anymore. That’s the error I get when manually starting via</p>
<pre><code>cd ~/MagicMirror
DISPLAY=:0 npm start
</code></pre>
<p dir="auto">Any idea how to fix this? … and even more: any idea what might have caused this?</p>
<p dir="auto">Cheers :)</p>
]]></description><link>https://forum.magicmirror.builders/topic/11911/cannot-find-module-module-alias-register</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 02:09:04 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/11911.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Jan 2020 15:46:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot find module &#x27;module-alias&#x2F;register&#x27; on Mon, 23 Mar 2020 16:55: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> THX!  Will do.</p>
]]></description><link>https://forum.magicmirror.builders/post/71038</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71038</guid><dc:creator><![CDATA[amanzimdwini]]></dc:creator><pubDate>Mon, 23 Mar 2020 16:55:20 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &#x27;module-alias&#x2F;register&#x27; on Mon, 23 Mar 2020 16:50:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amanzimdwini" aria-label="Profile: amanzimdwini">@<bdi>amanzimdwini</bdi></a></p>
<p dir="auto">please read the page  here for the multiple scripts I provide</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>
<p dir="auto">each provides the string to cut/paste to execute the specific function<br />
install,<br />
update<br />
screen saver<br />
pm2</p>
]]></description><link>https://forum.magicmirror.builders/post/71037</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71037</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 23 Mar 2020 16:50:45 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &#x27;module-alias&#x2F;register&#x27; on Mon, 23 Mar 2020 16:48:39 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 />
wait - wasnt’ that the newest?<br />
Sorry - working on something else right now, but please send latest and best installer link</p>
<p dir="auto">THANKS FOR THE HELP,<br />
Karl</p>
]]></description><link>https://forum.magicmirror.builders/post/71036</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71036</guid><dc:creator><![CDATA[amanzimdwini]]></dc:creator><pubDate>Mon, 23 Mar 2020 16:48:39 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &#x27;module-alias&#x2F;register&#x27; on Tue, 24 Mar 2020 03:08:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amanzimdwini" aria-label="Profile: amanzimdwini">@<bdi>amanzimdwini</bdi></a> that post says</p>
<p dir="auto">I also have a <em><strong>newer installer</strong></em> that resolves a lot of problems with MM</p>
<p dir="auto">post 1<br />
says</p>
<p dir="auto">given that we will have a regular update quarterly, <em><strong>and we have such a large number of new users experiencing troubles after updates</strong></em> (mostly cause they have a ton to learn)… I have developed a script I would like to get included for future updates…</p>
<p dir="auto">but glad u got it working… many cannot just reinstall easily</p>
]]></description><link>https://forum.magicmirror.builders/post/71034</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71034</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 24 Mar 2020 03:08:51 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &#x27;module-alias&#x2F;register&#x27; on Mon, 23 Mar 2020 16:41:58 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 />
I did (read my way through all the posts)</p>
<p dir="auto">HOWEVER,<br />
<a href="https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing/2">https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing/2</a><br />
told me to run</p>
<pre><code>bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
</code></pre>
<p dir="auto">and that made me a new installation that did work.</p>
<p dir="auto">Sometimes you have to sledgehammer things, I guess.</p>
<p dir="auto">Thanks for offering to help,<br />
karl</p>
]]></description><link>https://forum.magicmirror.builders/post/71033</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71033</guid><dc:creator><![CDATA[amanzimdwini]]></dc:creator><pubDate>Mon, 23 Mar 2020 16:41:58 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &#x27;module-alias&#x2F;register&#x27; on Mon, 23 Mar 2020 16:26:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amanzimdwini" aria-label="Profile: amanzimdwini">@<bdi>amanzimdwini</bdi></a> and u also did</p>
<pre><code>npm install
</code></pre>
<p dir="auto">after the git pull…</p>
<p dir="auto">need everyone to start using the update script…<br />
from here<br />
<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/71031</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71031</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 23 Mar 2020 16:26:29 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &#x27;module-alias&#x2F;register&#x27; on Mon, 23 Mar 2020 16:06:44 GMT]]></title><description><![CDATA[<p dir="auto">Hmm - same thing  for me. Too much time on my hands, so I updated. And now I get</p>
<pre><code>A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'module-alias/register'
    at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/elect                                                                                                                                                             ron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/js/app.js:15:1)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/js/app.js:283:3)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)

</code></pre>
<p dir="auto">help?</p>
<p dir="auto">Thanks,<br />
Karl</p>
]]></description><link>https://forum.magicmirror.builders/post/71028</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/71028</guid><dc:creator><![CDATA[amanzimdwini]]></dc:creator><pubDate>Mon, 23 Mar 2020 16:06:44 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &#x27;module-alias&#x2F;register&#x27; on Sun, 05 Jan 2020 17:02:35 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/67010">Cannot find module 'module-alias/register'</a>:</p>
<blockquote>
<p dir="auto">npm install</p>
</blockquote>
<p dir="auto">Thanks, yes that was very helpful. Helped indeed. However I also had to fix one module by deleting and pulling it again, but now it works fine. Thanks once more :)</p>
]]></description><link>https://forum.magicmirror.builders/post/67275</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67275</guid><dc:creator><![CDATA[DerRheingold]]></dc:creator><pubDate>Sun, 05 Jan 2020 17:02:35 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &#x27;module-alias&#x2F;register&#x27; on Thu, 02 Jan 2020 15:48:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrheingold" aria-label="Profile: DerRheingold">@<bdi>DerRheingold</bdi></a> did u try to update to the latest release?</p>
<p dir="auto">if so, there were two steps</p>
<p dir="auto">git pull<br />
npm install<br />
did u do the second?</p>
]]></description><link>https://forum.magicmirror.builders/post/67010</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67010</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 02 Jan 2020 15:48:48 GMT</pubDate></item></channel></rss>