<?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 missing on installation installation problems on first start up]]></title><description><![CDATA[<p dir="auto">Hi All!</p>
<p dir="auto">Essentially what it says on the tin, I have been setting up on a raspi4 and was looking to update the Magic Mirror got a bit mixed up and ended wiping the SD card and starting again.<br />
Now when I try and start-up following the installation instructions per the documentation (which has changed since the last time I did it, it was a single line installation before I believe) I am throwing an error based around npm when I cd into /MagicMirror “npm install” doesn’t last for as long as it says it should and then when I try “npm start” it throws the error that is seen here:</p>
<pre><code>&gt; magicmirror@2.13.0 start /home/pi/MagicMirror
&gt; DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

sh: 1: ./node_modules/.bin/electron: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the magicmirror@2.13.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2020-10-26T14_02_01_898Z-debug.log

.
</code></pre>
<p dir="auto">I have wiped and redone this twice to double I wasn’t just failing to copy paste a couple of lines into the terminal but the problem is persisting.</p>
<p dir="auto">As you can see it’s something to do with the Magic Mirror files themselves missing electron but I’ve just been cloning straight from the repo so I’m a bit stuck. Any ideas? Is there a step I’m missing from the documentation?</p>
<p dir="auto">Thanks for your time,<br />
DCT</p>
]]></description><link>https://forum.magicmirror.builders/topic/13913/electron-missing-on-installation-installation-problems-on-first-start-up</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 17:26:51 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13913.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 26 Oct 2020 14:17:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to electron missing on installation installation problems on first start up on Mon, 26 Oct 2020 14:23:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/desparta" aria-label="Profile: DeSparta">@<bdi>DeSparta</bdi></a> what kind of pi?   pi 0??</p>
<p dir="auto">use my install script , see the instructions 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/83972</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/83972</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 26 Oct 2020 14:23:06 GMT</pubDate></item></channel></rss>