<?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[Electron failed to Install error after upgrading to 2.12.0]]></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 am getting following error after updating to 2.12.0. appreciate any pointers on what I am doing wrong or how to fix the issue. I attempted to reinstall a couple of times.</p>
<p dir="auto">pi@raspberrypi:~/MagicMirror $ npm start</p>
<blockquote>
<p dir="auto">magicmirror@2.12.0 start /home/pi/MagicMirror<br />
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js</p>
</blockquote>
<p dir="auto">/home/pi/MagicMirror/node_modules/electron/index.js:14<br />
throw new Error(‘Electron failed to install correctly, please delete node_modules/electron and try installing again’)<br />
^</p>
<p dir="auto">Error: Electron failed to install correctly, please delete node_modules/electron and try installing again<br />
at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11)<br />
at Object. (/home/pi/MagicMirror/node_modules/electron/index.js:18:18)<br />
at Module._compile (internal/modules/cjs/loader.js:778:30)<br />
at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)<br />
at Module.load (internal/modules/cjs/loader.js:653:32)<br />
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)<br />
at Function.Module._load (internal/modules/cjs/loader.js:585:3)<br />
at Module.require (internal/modules/cjs/loader.js:692:17)<br />
at require (internal/modules/cjs/helpers.js:25:18)<br />
at Object. (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)<br />
npm ERR! code ELIFECYCLE<br />
npm ERR! errno 1<br />
npm ERR! magicmirror@2.12.0 start: <code>DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js</code><br />
npm ERR! Exit status 1<br />
npm ERR!<br />
npm ERR! Failed at the magicmirror@2.12.0 start script.<br />
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.</p>
<p dir="auto">npm ERR! A complete log of this run can be found in:<br />
npm ERR!     /home/pi/.npm/_logs/2020-07-08T12_02_15_704Z-debug.log<br />
pi@raspberrypi:~/MagicMirror $</p>
]]></description><link>https://forum.magicmirror.builders/topic/13226/electron-failed-to-install-error-after-upgrading-to-2-12-0</link><generator>RSS for Node</generator><lastBuildDate>Sun, 10 May 2026 14:24:50 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13226.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Jul 2020 12:08:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Electron failed to Install error after upgrading to 2.12.0 on Thu, 09 Jul 2020 13:38:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rahula74" aria-label="Profile: rahula74">@<bdi>rahula74</bdi></a> ok, thx.</p>
]]></description><link>https://forum.magicmirror.builders/post/78254</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78254</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 09 Jul 2020 13:38:00 GMT</pubDate></item><item><title><![CDATA[Reply to Electron failed to Install error after upgrading to 2.12.0 on Thu, 09 Jul 2020 13:20:14 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 Sam.<br />
I ended up deleting prior installation and used your script to reinstall.<br />
Its up and running now.<br />
Thanks again!</p>
]]></description><link>https://forum.magicmirror.builders/post/78253</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78253</guid><dc:creator><![CDATA[rahula74]]></dc:creator><pubDate>Thu, 09 Jul 2020 13:20:14 GMT</pubDate></item><item><title><![CDATA[Reply to Electron failed to Install error after upgrading to 2.12.0 on Thu, 09 Jul 2020 00:30:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rahula74" aria-label="Profile: rahula74">@<bdi>rahula74</bdi></a> weird. thanks for the log.<br />
can you do</p>
<pre><code>cd ~/MagicMirror
npm install
npm start
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/78241</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78241</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 09 Jul 2020 00:30:29 GMT</pubDate></item><item><title><![CDATA[Reply to Electron failed to Install error after upgrading to 2.12.0 on Wed, 08 Jul 2020 20:53:16 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 />
tried Force. following is the log. no luck though with npm start to launch MM</p>
<p dir="auto">Upgrade started - Wed Jul  8 14:29:34 CDT 2020<br />
system is Linux raspberrypi 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux<br />
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster<br />
user requested to force apply changes<br />
doing test run = false</p>
<p dir="auto">saving custom.css<br />
remote name = origin<br />
upgrading from version 2.12.0 to 2.12.0<br />
fetching latest revisions<br />
git fetch rc=0<br />
current branch = master<br />
On branch master<br />
Your branch is up to date with ‘origin/master’.</p>
<p dir="auto">Changes not staged for commit:<br />
(use “git add/rm …” to update what will be committed)<br />
(use “git checkout – …” to discard changes in working directory)</p>
<pre><code>deleted:    package-lock.json
</code></pre>
<p dir="auto">Untracked files:<br />
(use “git add …” to include in what will be committed)</p>
<pre><code>css/save_custom.css
run-start.sh
</code></pre>
<p dir="auto">no changes added to commit (use “git add” and/or “git commit -a”)<br />
no files different from github version<br />
test merge result rc=‘’ , if empty, no conflicts<br />
executing merge, apply specified<br />
merge result rc= 0<br />
Already up to date.<br />
processor architecture is armv7l<br />
updating MagicMirror runtime, please wait<br />
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()<br />
npm WARN deprecated webdriverio@4.14.4: outdated version, please use @next<br />
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)<br />
npm WARN registry Unexpected warning for <a href="https://registry.npmjs.org/:" target="_blank" rel="noopener noreferrer nofollow ugc">https://registry.npmjs.org/:</a> Miscellaneous Warning EAI_AGAIN: request to <a href="https://registry.npmjs.org/css-value" target="_blank" rel="noopener noreferrer nofollow ugc">https://registry.npmjs.org/css-value</a> failed, reason: getaddrinfo EAI_AGAIN <a href="http://registry.npmjs.org" target="_blank" rel="noopener noreferrer nofollow ugc">registry.npmjs.org</a> <a href="http://registry.npmjs.org:443" target="_blank" rel="noopener noreferrer nofollow ugc">registry.npmjs.org:443</a><br />
npm WARN registry Using stale data from <a href="https://registry.npmjs.org/" target="_blank" rel="noopener noreferrer nofollow ugc">https://registry.npmjs.org/</a> due to a request error during revalidation.<br />
npm WARN deprecated core-js@2.6.11: core-js@&lt;3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.<br />
npm WARN deprecated urix@0.1.0: Please see <a href="https://github.com/lydell/urix#deprecated" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/lydell/urix#deprecated</a><br />
npm WARN deprecated resolve-url@0.2.1: <a href="https://github.com/lydell/resolve-url#deprecated" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/lydell/resolve-url#deprecated</a></p>
<blockquote>
<p dir="auto">magicmirror@2.12.0 install /home/pi/MagicMirror<br />
echo "Installing vendor files …<br />
" &amp;&amp; cd vendor &amp;&amp; npm install --loglevel=error</p>
</blockquote>
<p dir="auto">Installing vendor files …</p>
<p dir="auto">Upgrade started - Wed Jul  8 15:44:11 CDT 2020<br />
system is Linux raspberrypi 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux<br />
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster<br />
user requested to force apply changes<br />
doing test run = false</p>
<p dir="auto">saving custom.css<br />
remote name = origin<br />
upgrading from version 2.12.0 to 2.12.0<br />
fetching latest revisions<br />
git fetch rc=0<br />
current branch = master<br />
On branch master<br />
Your branch is up to date with ‘origin/master’.</p>
<p dir="auto">Changes not staged for commit:<br />
(use “git add/rm …” to update what will be committed)<br />
(use “git checkout – …” to discard changes in working directory)</p>
<pre><code>deleted:    package-lock.json
</code></pre>
<p dir="auto">Untracked files:<br />
(use “git add …” to include in what will be committed)</p>
<pre><code>css/save_custom.css
run-start.sh
</code></pre>
<p dir="auto">no changes added to commit (use “git add” and/or “git commit -a”)<br />
no files different from github version<br />
test merge result rc=‘’ , if empty, no conflicts<br />
executing merge, apply specified<br />
merge result rc= 0<br />
Already up to date.<br />
processor architecture is armv7l<br />
updating MagicMirror runtime, please wait<br />
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()<br />
npm WARN deprecated webdriverio@4.14.4: outdated version, please use @next<br />
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)<br />
npm WARN deprecated core-js@2.6.11: core-js@&lt;3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.<br />
npm WARN deprecated urix@0.1.0: Please see <a href="https://github.com/lydell/urix#deprecated" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/lydell/urix#deprecated</a><br />
npm WARN deprecated resolve-url@0.2.1: <a href="https://github.com/lydell/resolve-url#deprecated" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/lydell/resolve-url#deprecated</a></p>
<blockquote>
<p dir="auto">magicmirror@2.12.0 install /home/pi/MagicMirror<br />
echo "Installing vendor files …<br />
" &amp;&amp; cd vendor &amp;&amp; npm install --loglevel=error</p>
</blockquote>
<p dir="auto">Installing vendor files …</p>
<p dir="auto">added 82 packages from 57 contributors and audited 150 packages in 12.974s<br />
found 8 vulnerabilities (7 low, 1 high)<br />
run <code>npm audit fix</code> to fix them, or <code>npm audit</code> for details</p>
<blockquote>
<p dir="auto">magicmirror@2.12.0 postinstall /home/pi/MagicMirror<br />
npm run install-fonts &amp;&amp; echo "MagicMirror installation finished successfully!<br />
"</p>
</blockquote>
<blockquote>
<p dir="auto">magicmirror@2.12.0 install-fonts /home/pi/MagicMirror<br />
echo "Installing fonts …<br />
" &amp;&amp; cd fonts &amp;&amp; npm install --loglevel=error</p>
</blockquote>
<p dir="auto">Installing fonts …</p>
<p dir="auto">added 1 package from 1 contributor and audited 1 package in 1.285s<br />
found 0 vulnerabilities</p>
<p dir="auto">MagicMirror installation finished successfully!</p>
<p dir="auto">npm notice created a lockfile as package-lock.json. You should commit this file.<br />
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/chokidar/node_modules/fsevents):<br />
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})</p>
<p dir="auto">audited 1042 packages in 69.581s</p>
<p dir="auto">11 packages are looking for funding<br />
run <code>npm fund</code> for details</p>
<p dir="auto">found 3 low severity vulnerabilities<br />
run <code>npm audit fix</code> to fix them, or <code>npm audit</code> for details<br />
npm install completed - Wed Jul  8 15:45:29 CDT 2020 on base<br />
downloading dumpactivemodules script<br />
no modules found needing npm refresh<br />
restoring custom.css<br />
removing git alias<br />
Upgrade ended - Wed Jul  8 15:45:30 CDT 2020</p>
]]></description><link>https://forum.magicmirror.builders/post/78237</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78237</guid><dc:creator><![CDATA[rahula74]]></dc:creator><pubDate>Wed, 08 Jul 2020 20:53:16 GMT</pubDate></item><item><title><![CDATA[Reply to Electron failed to Install error after upgrading to 2.12.0 on Wed, 08 Jul 2020 19:29:19 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 />
ok.will give it a try.<br />
Thanks!</p>
]]></description><link>https://forum.magicmirror.builders/post/78234</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78234</guid><dc:creator><![CDATA[rahula74]]></dc:creator><pubDate>Wed, 08 Jul 2020 19:29:19 GMT</pubDate></item><item><title><![CDATA[Reply to Electron failed to Install error after upgrading to 2.12.0 on Wed, 08 Jul 2020 19:24:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rahula74" aria-label="Profile: rahula74">@<bdi>rahula74</bdi></a> use force instead of apply if u tried it manually once</p>
]]></description><link>https://forum.magicmirror.builders/post/78232</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78232</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 08 Jul 2020 19:24:53 GMT</pubDate></item><item><title><![CDATA[Reply to Electron failed to Install error after upgrading to 2.12.0 on Wed, 08 Jul 2020 19:23:24 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 />
here is latest upgrade log</p>
<p dir="auto">Upgrade started - Wed Jul  8 14:21:46 CDT 2020<br />
system is Linux raspberrypi 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux<br />
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster<br />
doing test run = true, NO updates will be applied!</p>
<p dir="auto">saving custom.css<br />
remote name = origin<br />
upgrading from version 2.12.0 to 2.12.0<br />
fetching latest revisions<br />
git fetch rc=0<br />
current branch = master<br />
On branch master<br />
Your branch is up to date with ‘origin/master’.</p>
<p dir="auto">Changes not staged for commit:<br />
(use “git add/rm …” to update what will be committed)<br />
(use “git checkout – …” to discard changes in working directory)</p>
<pre><code>deleted:    package-lock.json
</code></pre>
<p dir="auto">Untracked files:<br />
(use “git add …” to include in what will be committed)</p>
<pre><code>css/save_custom.css
run-start.sh
</code></pre>
<p dir="auto">no changes added to commit (use “git add” and/or “git commit -a”)<br />
no files different from github version<br />
test merge result rc=‘’ , if empty, no conflicts<br />
skipping merge, only test run<br />
downloading dumpactivemodules script<br />
no modules found needing npm refresh<br />
restoring custom.css<br />
removing git alias<br />
Upgrade ended - Wed Jul  8 14:21:51 CDT 2020</p>
<p dir="auto">Upgrade started - Wed Jul  8 14:22:11 CDT 2020<br />
system is Linux raspberrypi 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux<br />
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster<br />
user requested to apply changes<br />
doing test run = false</p>
<p dir="auto">saving custom.css<br />
remote name = origin<br />
local version 2.12.0 already same as master 2.12.0<br />
restoring custom.css<br />
removing git alias<br />
Upgrade ended - Wed Jul  8 14:22:12 CDT 2020</p>
]]></description><link>https://forum.magicmirror.builders/post/78231</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78231</guid><dc:creator><![CDATA[rahula74]]></dc:creator><pubDate>Wed, 08 Jul 2020 19:23:24 GMT</pubDate></item><item><title><![CDATA[Reply to Electron failed to Install error after upgrading to 2.12.0 on Wed, 08 Jul 2020 15:41:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rahula74" aria-label="Profile: rahula74">@<bdi>rahula74</bdi></a> issue commands in a terminal window</p>
<p dir="auto">can u show me the ~/MagicMirror/installers/upgrade.log</p>
]]></description><link>https://forum.magicmirror.builders/post/78225</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78225</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 08 Jul 2020 15:41:45 GMT</pubDate></item><item><title><![CDATA[Reply to Electron failed to Install error after upgrading to 2.12.0 on Wed, 08 Jul 2020 15:14:51 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">I am on Pi 3 ( I am a novice to MM. where do I run isb_release -a for the info you requested? on the terminal?)</p>
<p dir="auto">I used your script to upgrade.</p>
]]></description><link>https://forum.magicmirror.builders/post/78223</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78223</guid><dc:creator><![CDATA[rahula74]]></dc:creator><pubDate>Wed, 08 Jul 2020 15:14:51 GMT</pubDate></item><item><title><![CDATA[Reply to Electron failed to Install error after upgrading to 2.12.0 on Wed, 08 Jul 2020 12:43:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rahula74" aria-label="Profile: rahula74">@<bdi>rahula74</bdi></a> how did u upgrade? my script or manually?</p>
<p dir="auto">what pi are u on and what is level?<br />
run<br />
lsb_release -a<br />
for that is info</p>
]]></description><link>https://forum.magicmirror.builders/post/78214</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78214</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 08 Jul 2020 12:43:18 GMT</pubDate></item></channel></rss>