<?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[Update Error of v.2.2.0 :(]]></title><description><![CDATA[<p dir="auto">And again, the next Magic Mirror update  failed at me and broke my MM completely :(<br />
My fault, i “accidently” clicked on the update button in the MMM-remote…<br />
<img src="https://i.imgur.com/UhYz6Xv.jpg" alt="Bild Text" class=" img-fluid img-markdown" /></p>
<p dir="auto">And with<br />
npm start dev:</p>
<pre><code>&gt; magicmirror@2.2.2 start /home/pi/MagicMirror
&gt; sh run-start.sh "dev"

/home/pi/MagicMirror/node_modules/electron/index.js:9
  throw new Error('Electron failed to install correctly, please delete node_modules/' + path.basename(__dirname) + ' and try installing again')
  ^

Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/electron/index.js:9:9)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)
    at Module._compile (module.js:571:32)

npm ERR! Linux 4.9.56-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" "dev"
npm ERR! node v7.10.1
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! magicmirror@2.2.2 start: `sh run-start.sh "dev"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.2.2 start script 'sh run-start.sh "dev"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the magicmirror package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     sh run-start.sh "dev"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs magicmirror
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls magicmirror
npm ERR! There is likely additional logging output above.

</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/6057/update-error-of-v-2-2-0</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 00:21:24 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/6057.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Jan 2018 18:51:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Thu, 03 Jan 2019 07:16:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/afedriansyah" aria-label="Profile: afedriansyah">@<bdi>afedriansyah</bdi></a> I’ve read that there might be some issues with the automatic installer in the Pi. If you do a re-install and it doesn’t work, try a manual install. All the instructions are on the GitHub page. ☺️</p>
]]></description><link>https://forum.magicmirror.builders/post/49201</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49201</guid><dc:creator><![CDATA[mdhenriksen]]></dc:creator><pubDate>Thu, 03 Jan 2019 07:16:39 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Thu, 03 Jan 2019 04:53:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/afedriansyah" aria-label="Profile: afedriansyah">@<bdi>afedriansyah</bdi></a> it looks like you already have it cloned to the directory, if you really really want to start fresh (WARNING WILL DELETE YOUR EXISTING INSTALLATION): <code>rm -R ~/MagicMirror</code> and then rerun the script. If you just want to upgrade, after the <code>git pull</code>, do <code>npm install</code>.</p>
<p dir="auto">Finally, I wouldn’t recommend running MM as root, unless you know what you’re doing…</p>
]]></description><link>https://forum.magicmirror.builders/post/49196</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49196</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Thu, 03 Jan 2019 04:53:58 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Thu, 03 Jan 2019 04:10:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/open_book" aria-label="Profile: open_book">@<bdi>open_book</bdi></a> How do you remove and reinstall the electron?</p>
]]></description><link>https://forum.magicmirror.builders/post/49193</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49193</guid><dc:creator><![CDATA[SoleLo]]></dc:creator><pubDate>Thu, 03 Jan 2019 04:10:40 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Thu, 03 Jan 2019 02:58:29 GMT]]></title><description><![CDATA[<p dir="auto">hey I’ve been trying to install the magic mirror from <a href="https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh" target="_blank" rel="noopener noreferrer nofollow ugc">https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh</a> | bash and once I clicked enter and this message appeared<img src="/assets/uploads/files/1546483551409-magicmirror.jpg" alt="0_1546483547246_magicmirror.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">anyone any ideas how to solve this. a helpful answer and guide would be appreciated</p>
]]></description><link>https://forum.magicmirror.builders/post/49192</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49192</guid><dc:creator><![CDATA[afedriansyah]]></dc:creator><pubDate>Thu, 03 Jan 2019 02:58:29 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Mon, 12 Feb 2018 22:36:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michmich" aria-label="Profile: MichMich">@<bdi>MichMich</bdi></a> How to solve this error?</p>
<p dir="auto">pi@PrivatePiNetwork:~/MagicMirror $ git pull &amp;&amp; npm install<br />
Updating b799609…20823bf<br />
error: Your local changes to the following files would be overwritten by merge:<br />
fonts/package.json<br />
modules/default/clock/clock.js<br />
modules/default/currentweather/currentweather.js<br />
modules/default/weatherforecast/README.md<br />
Please, commit your changes or stash them before you can merge.<br />
error: The following untracked working tree files would be overwritten by merge:<br />
fonts/package-lock.json<br />
package-lock.json<br />
vendor/package-lock.json<br />
Please move or remove them before you can merge.<br />
Aborting</p>
]]></description><link>https://forum.magicmirror.builders/post/35621</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/35621</guid><dc:creator><![CDATA[PRECIOUS VIRAL]]></dc:creator><pubDate>Mon, 12 Feb 2018 22:36:59 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Sun, 21 Jan 2018 15:02:28 GMT]]></title><description><![CDATA[<p dir="auto">why update do that ?<br />
need to reinstall all modules<br />
now its good …</p>
]]></description><link>https://forum.magicmirror.builders/post/34366</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/34366</guid><dc:creator><![CDATA[Fonfon]]></dc:creator><pubDate>Sun, 21 Jan 2018 15:02:28 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Sat, 20 Jan 2018 11:01:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michmich" aria-label="Profile: MichMich">@<bdi>MichMich</bdi></a> Hi,</p>
<p dir="auto">i backup my modules folder and my config folder<br />
i delete MagicMirror folder<br />
reinstall MagicMirror<br />
copy/paste modules &amp;config folders<br />
i do that but same error on the same module<br />
i don’t understand why<br />
i need some help please<br />
thanks</p>
]]></description><link>https://forum.magicmirror.builders/post/34278</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/34278</guid><dc:creator><![CDATA[Fonfon]]></dc:creator><pubDate>Sat, 20 Jan 2018 11:01:54 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Thu, 18 Jan 2018 07:24:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bhepler" aria-label="Profile: bhepler">@<bdi>bhepler</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/fox" aria-label="Profile: fox">@<bdi>fox</bdi></a> I had the same problem and followed the steps here to reinstall electron. It worked for me without further changes.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.magicmirror.builders/post/34182</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/34182</guid><dc:creator><![CDATA[open_book]]></dc:creator><pubDate>Thu, 18 Jan 2018 07:24:58 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Tue, 16 Jan 2018 20:31:18 GMT]]></title><description><![CDATA[<p dir="auto">I did a complete reinstall. This was the last time that i did an Update of the Magic Mirror :)<br />
This happend with every update till now.</p>
]]></description><link>https://forum.magicmirror.builders/post/34092</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/34092</guid><dc:creator><![CDATA[fox]]></dc:creator><pubDate>Tue, 16 Jan 2018 20:31:18 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Tue, 16 Jan 2018 19:21:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hoddog" aria-label="Profile: hoddog">@<bdi>hoddog</bdi></a> said in <a href="/post/33308">Update Error of v.2.2.0 :(</a>:</p>
<blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">Same problem here. After yesterday’s update (git hub &amp;&amp; npm install) two modules (MMM-PIR and MMM-MyCommute) has wrong version (except 50, got 48). After launching screen is just black. I’ve tried to update electron (npm rebuild --runtime=electron --target=1.4.15 --disturl=<a href="https://atom.io/download/atom-shell" target="_blank" rel="noopener noreferrer nofollow ugc">https://atom.io/download/atom-shell</a> --abi=50)but nothing changed. How to start it?</p>
</blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">Same problem same modules<br />
solution ?</p>
]]></description><link>https://forum.magicmirror.builders/post/34084</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/34084</guid><dc:creator><![CDATA[Fonfon]]></dc:creator><pubDate>Tue, 16 Jan 2018 19:21:42 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Sat, 06 Jan 2018 17:10:41 GMT]]></title><description><![CDATA[<p dir="auto">So i’ve used solution from here:<br />
<a href="https://forum.magicmirror.builders/topic/6045/black-screen-after-install-update-v2-2?page=1">https://forum.magicmirror.builders/topic/6045/black-screen-after-install-update-v2-2?page=1</a><br />
For my not working modules.<br />
And it works. Mirror started… Huuuh.<br />
Thank you mr ryck!</p>
]]></description><link>https://forum.magicmirror.builders/post/33446</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/33446</guid><dc:creator><![CDATA[hoddog]]></dc:creator><pubDate>Sat, 06 Jan 2018 17:10:41 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Thu, 04 Jan 2018 21:04:54 GMT]]></title><description><![CDATA[<p dir="auto">What you could try:</p>
<ul>
<li>backup your module folder.</li>
<li>backup your config file</li>
<li>remove MagicMirror</li>
<li>reinstall</li>
<li>put modules &amp; config back.</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/post/33356</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/33356</guid><dc:creator><![CDATA[MichMich]]></dc:creator><pubDate>Thu, 04 Jan 2018 21:04:54 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Thu, 04 Jan 2018 12:57:25 GMT]]></title><description><![CDATA[<p dir="auto">Should I wait for new update or install everything from beginning?</p>
]]></description><link>https://forum.magicmirror.builders/post/33323</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/33323</guid><dc:creator><![CDATA[hoddog]]></dc:creator><pubDate>Thu, 04 Jan 2018 12:57:25 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Thu, 04 Jan 2018 10:07:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hoddog" aria-label="Profile: hoddog">@<bdi>hoddog</bdi></a> Here is my result: <a href="https://forum.magicmirror.builders/post/33238">https://forum.magicmirror.builders/post/33238</a></p>
]]></description><link>https://forum.magicmirror.builders/post/33315</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/33315</guid><dc:creator><![CDATA[fox]]></dc:creator><pubDate>Thu, 04 Jan 2018 10:07:51 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Thu, 04 Jan 2018 07:01:04 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Same problem here. After yesterday’s update (git hub &amp;&amp; npm install) two modules (MMM-PIR and MMM-MyCommute) has wrong version (except 50, got 48). After launching screen is just black. I’ve tried to update electron (npm rebuild --runtime=electron --target=1.4.15 --disturl=<a href="https://atom.io/download/atom-shell" target="_blank" rel="noopener noreferrer nofollow ugc">https://atom.io/download/atom-shell</a> --abi=50)but nothing changed. How to start it?</p>
]]></description><link>https://forum.magicmirror.builders/post/33308</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/33308</guid><dc:creator><![CDATA[hoddog]]></dc:creator><pubDate>Thu, 04 Jan 2018 07:01:04 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Tue, 02 Jan 2018 20:44:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bhepler" aria-label="Profile: bhepler">@<bdi>bhepler</bdi></a><br />
I tried the commands of the thread it, but no effect… Any help ?</p>
]]></description><link>https://forum.magicmirror.builders/post/33208</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/33208</guid><dc:creator><![CDATA[fox]]></dc:creator><pubDate>Tue, 02 Jan 2018 20:44:53 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Tue, 02 Jan 2018 19:34:31 GMT]]></title><description><![CDATA[<p dir="auto">This thread should help: <a href="https://forum.magicmirror.builders/post/7634">https://forum.magicmirror.builders/post/7634</a></p>
]]></description><link>https://forum.magicmirror.builders/post/33204</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/33204</guid><dc:creator><![CDATA[bhepler]]></dc:creator><pubDate>Tue, 02 Jan 2018 19:34:31 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Tue, 02 Jan 2018 19:34:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bhepler" aria-label="Profile: bhepler">@<bdi>bhepler</bdi></a><br />
thank you for your reply.<br />
Everything worked until the last command.<br />
Then i got</p>
<pre><code>pi@magicpi:~/MagicMirror $ npm build &amp;&amp; npm start

&gt; magicmirror@2.2.2 start /home/pi/MagicMirror
&gt; sh run-start.sh

Starting MagicMirror: v2.2.2
Loading config ...
Loading module helpers ...
Initializing new module helper ...
Module helper loaded: MMM-cryptocurrency
Initializing new module helper ...
Module helper loaded: MMM-Wunderlist
No helper found for module: clock.
Initializing new module helper ...
Module helper loaded: MMM-ModuleScheduler
WARNING! Could not load config file. Starting with default configuration. Error                                                                                                                      found: Error: Module version mismatch. Expected 50, got 54.
Loading module helpers ...
Initializing new module helper ...
Module helper loaded: MMM-cryptocurrency
Initializing new module helper ...
Module helper loaded: MMM-Wunderlist
No helper found for module: clock.
Initializing new module helper ...
Module helper loaded: MMM-ModuleScheduler
App threw an error during load
Error: Module version mismatch. Expected 50, got 54.
    at Error (native)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
    at Object.Module._extensions..node (module.js:583:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindin                                                                                                                     gs/bindings.js:76:44)
Whoops! There was an uncaught exception...
Error: Module version mismatch. Expected 50, got 54.
    at Error (native)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
    at Object.Module._extensions..node (module.js:583:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindin                                                                                                                     gs/bindings.js:76:44)
MagicMirror will not quit, but it might be a good idea to check why this happene                                                                                                                     d. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://gi                                                                                                                     thub.com/MichMich/MagicMirror/issues
Launching application.

</code></pre>
<p dir="auto">But it does not start.</p>
<p dir="auto">I did also</p>
<pre><code>pi@magicpi:~/MagicMirror $ npm list | grep electron
├─┬ electron@1.4.15
│ ├─┬ electron-download@3.3.0
│ ├─┬ electron-chromedriver@1.7.1
│ │ └─┬ electron-download@4.1.0
│ │ │ └─┬ electron-to-chromium@1.3.30
│ │ │   └── electron-releases@2.1.0
pi@magicpi:~/MagicMirror $ npm rebuild --runtime=electron --target=1.4.15 --disturl=https://atom.io/download/atom-shell --abi=50
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/33200</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/33200</guid><dc:creator><![CDATA[fox]]></dc:creator><pubDate>Tue, 02 Jan 2018 19:34:42 GMT</pubDate></item><item><title><![CDATA[Reply to Update Error of v.2.2.0 :( on Tue, 02 Jan 2018 19:14:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fox" aria-label="Profile: fox">@<bdi>fox</bdi></a> Did you try reinstalling electron via the instructions given? ie, delete <code>/home/pi/MagicMirror/node_modules/electron</code> and reinstalling?</p>
<p dir="auto">This should be close:</p>
<pre><code>cd /home/pi/MagicMirror/node_modules
sudo rm -rf electron
cd ..
npm install electron@1.4.15
</code></pre>
<p dir="auto">After that, I suspect a <code>npm install</code> and then <code>npm start</code>.</p>
]]></description><link>https://forum.magicmirror.builders/post/33198</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/33198</guid><dc:creator><![CDATA[bhepler]]></dc:creator><pubDate>Tue, 02 Jan 2018 19:14:32 GMT</pubDate></item></channel></rss>