<?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[Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'.]]></title><description><![CDATA[<p dir="auto">I did just install MagicMirror with the tutorial in the hardware forum, no errors until the last step to run it.</p>
<p dir="auto">pi@magicpi:~/MagicMirror $ npm start</p>
<p dir="auto">-&gt; magicmirror@2.0.0 start /home/pi/MagicMirror<br />
-&gt; electron js/electron.js</p>
<p dir="auto">npm ERR! Linux 4.4.19-v7+<br />
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”<br />
npm ERR! node v4.0.0<br />
npm ERR! npm  v2.14.2<br />
npm ERR! code ELIFECYCLE<br />
npm ERR! magicmirror@2.0.0 start: <code>electron js/electron.js</code><br />
npm ERR! Exit status 1<br />
npm ERR!<br />
npm ERR! Failed at the magicmirror@2.0.0 start script ‘electron js/electron.js’.<br />
npm ERR! This is most likely a problem with the magicmirror package,<br />
npm ERR! not with npm itself.<br />
npm ERR! Tell the author that this fails on your system:<br />
npm ERR!     electron js/electron.js<br />
npm ERR! You can get their info via:<br />
npm ERR!     npm owner ls magicmirror<br />
npm ERR! There is likely additional logging output above.</p>
<p dir="auto">npm ERR! Please include the following file with any support request:<br />
npm ERR!     /home/pi/MagicMirror/npm-debug.log</p>
<hr />
<p dir="auto">pi@magicpi:~/MagicMirror $ nano /home/pi/MagicMirror/npm-debug.log =<br />
0 info it worked if it ends with ok<br />
1 verbose cli [ ‘/usr/local/bin/node’, ‘/usr/local/bin/npm’, ‘start’ ]<br />
2 info using npm@2.14.2<br />
3 info using node@v4.0.0<br />
4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]<br />
5 info prestart magicmirror@2.0.0<br />
6 info start magicmirror@2.0.0<br />
7 verbose unsafe-perm in lifecycle true<br />
8 info magicmirror@2.0.0 Failed to exec start script<br />
9 verbose stack Error: magicmirror@2.0.0 start: <code>electron js/electron.js</code><br />
9 verbose stack Exit status 1<br />
9 verbose stack     at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)<br />
9 verbose stack     at emitTwo (events.js:87:13)<br />
9 verbose stack     at EventEmitter.emit (events.js:172:7)<br />
9 verbose stack     at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)<br />
9 verbose stack     at emitTwo (events.js:87:13)<br />
9 verbose stack     at ChildProcess.emit (events.js:172:7)<br />
9 verbose stack     at maybeClose (internal/child_process.js:817:16)<br />
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)<br />
10 verbose pkgid magicmirror@2.0.0<br />
11 verbose cwd /home/pi/MagicMirror<br />
12 error Linux 4.4.19-v7+<br />
13 error argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”<br />
14 error node v4.0.0<br />
15 error npm  v2.14.2<br />
16 error code ELIFECYCLE<br />
17 error magicmirror@2.0.0 start: <code>electron js/electron.js</code><br />
17 error Exit status 1<br />
18 error Failed at the magicmirror@2.0.0 start script ‘electron js/electron.js’.<br />
18 error This is most likely a problem with the magicmirror package,<br />
18 error not with npm itself.<br />
18 error Tell the author that this fails on your system:<br />
18 error     electron js/electron.js<br />
18 error You can get their info via:<br />
18 error     npm owner ls magicmirror<br />
18 error There is likely additional logging output above.<br />
19 verbose exit [ 1, true ]<br />
##########</p>
<p dir="auto">Raspberry pi3, what is wrong? I know nothing about linux…<br />
If i use “node serveronly” I can connect to it from the desktop.</p>
]]></description><link>https://forum.magicmirror.builders/topic/567/failed-at-the-magicmirror-2-0-0-start-script-electron-js-electron-js</link><generator>RSS for Node</generator><lastBuildDate>Wed, 07 Oct 2026 12:35:07 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/567.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 Aug 2016 20:14:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'. on Sat, 03 Sep 2016 22:33:03 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> said in <a href="/post/4349">Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'.</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jakllo" aria-label="Profile: Jakllo">@<bdi>Jakllo</bdi></a><br />
I initially had that problem too - you need to be logged in as PI - not root.<br />
I’d suggest starting all over: it really wont take that long. Follow the<br />
tutorial @strawberry-3-141  mentioned (<a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial">https://forum.magicmirror.builders/topic/236/complete-setup-tutorial</a>) to the letter. It was written by <a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a> &amp; made all of my problem go away.  I have now done it 4 times, getting it done in less than an hour from unpacking to having it all run!</p>
<p dir="auto">My  raspberry all of a sudden even connected via WiFi, and I am expecting my hair to grow back any day now.</p>
<p dir="auto">I’m telling you - pure magic, these guys.</p>
<p dir="auto">All the best</p>
</blockquote>
<p dir="auto">Thank you very much, it works now!<br />
Before I used Putty after SSH got enabled, logged in with pi/raspberry login.</p>
]]></description><link>https://forum.magicmirror.builders/post/4387</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4387</guid><dc:creator><![CDATA[Jakllo]]></dc:creator><pubDate>Sat, 03 Sep 2016 22:33:03 GMT</pubDate></item><item><title><![CDATA[Reply to Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'. on Fri, 02 Sep 2016 23:48:13 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> said in <a href="/post/4349">Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'.</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jakllo" aria-label="Profile: Jakllo">@<bdi>Jakllo</bdi></a><br />
I initially had that problem too - you need to be logged in as PI - not root.<br />
I’d suggest starting all over: it really wont take that long. Follow the<br />
tutorial @strawberry-3-141  mentioned (<a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial">https://forum.magicmirror.builders/topic/236/complete-setup-tutorial</a>) to the letter. It was written by <a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a> &amp; made all of my problem go away.  I have now done it 4 times, getting it done in less than an hour from unpacking to having it all run!</p>
<p dir="auto">My  raspberry all of a sudden even connected via WiFi, and I am expecting my hair to grow back any day now.</p>
<p dir="auto">I’m telling you - pure magic, these guys.</p>
<p dir="auto">All the best</p>
</blockquote>
<p dir="auto">^ This… yes do that!</p>
]]></description><link>https://forum.magicmirror.builders/post/4356</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4356</guid><dc:creator><![CDATA[cowboysdude]]></dc:creator><pubDate>Fri, 02 Sep 2016 23:48:13 GMT</pubDate></item><item><title><![CDATA[Reply to Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'. on Fri, 02 Sep 2016 22:00:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jakllo" aria-label="Profile: Jakllo">@<bdi>Jakllo</bdi></a><br />
I initially had that problem too - you need to be logged in as PI - not root.<br />
I’d suggest starting all over: it really wont take that long. Follow the<br />
tutorial @strawberry-3-141  mentioned (<a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial">https://forum.magicmirror.builders/topic/236/complete-setup-tutorial</a>) to the letter. It was written by <a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a> &amp; made all of my problem go away.  I have now done it 4 times, getting it done in less than an hour from unpacking to having it all run!</p>
<p dir="auto">My  raspberry all of a sudden even connected via WiFi, and I am expecting my hair to grow back any day now.</p>
<p dir="auto">I’m telling you - pure magic, these guys.</p>
<p dir="auto">All the best</p>
]]></description><link>https://forum.magicmirror.builders/post/4349</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4349</guid><dc:creator><![CDATA[amanzimdwini]]></dc:creator><pubDate>Fri, 02 Sep 2016 22:00:57 GMT</pubDate></item><item><title><![CDATA[Reply to Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'. on Thu, 01 Sep 2016 18:44:16 GMT]]></title><description><![CDATA[<p dir="auto">Well my first time I ended up going to the magic mirror dir in terminal and installed node.js and elec myself.  Then it worked.   Look up how to install node and elec.  they will give the commands to do it.   That’s how I did it.  For some reason when I had to redo everything I downloaded magic mirror and installed it directly from my sd card and it went without issue</p>
]]></description><link>https://forum.magicmirror.builders/post/4279</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4279</guid><dc:creator><![CDATA[cowboysdude]]></dc:creator><pubDate>Thu, 01 Sep 2016 18:44:16 GMT</pubDate></item><item><title><![CDATA[Reply to Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'. on Thu, 01 Sep 2016 16:50:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/strawberry-3.141" aria-label="Profile: strawberry-3.141">@<bdi>strawberry-3.141</bdi></a> said in <a href="/post/4263">Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'.</a>:</p>
<blockquote>
<p dir="auto">that must be a pretty old turorial when your running node on version 4</p>
<p dir="auto">i would recommend to take this tutorial <a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial">https://forum.magicmirror.builders/topic/236/complete-setup-tutorial</a></p>
</blockquote>
<p dir="auto">I did follow that guide at first, same error. After some google someone said to install that specific version, still same error. Now I don’t know how to update it :)</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cowboysdude" aria-label="Profile: cowboysdude">@<bdi>cowboysdude</bdi></a> said in <a href="/topic/567/failed-at-the-magicmirror-2-0-0-start-script-electron-js-electron-js/2">Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'.</a>:</p>
<blockquote>
<p dir="auto">“npm install electron”  from a terminal window without quotes…</p>
</blockquote>
<p dir="auto">Still same error.<br />
pi@magicpi:~/MagicMirror $ sudo npm install electron<br />
/<br />
-&gt; electron@1.3.4 postinstall /home/pi/MagicMirror/node_modules/electron<br />
-&gt; node install.js</p>
<p dir="auto">Downloading electron-v1.3.4-linux-arm.zip<br />
[============================================&gt;] 100.0% of 37.04 MB (1.48 MB/s)<br />
electron@1.3.4 node_modules/electron<br />
pi@magicpi:~/MagicMirror $ npm start</p>
<p dir="auto">-&gt; magicmirror@2.0.0 start /home/pi/MagicMirror<br />
-&gt; electron js/electron.js</p>
<p dir="auto">npm ERR! Linux 4.4.19-v7+<br />
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”<br />
npm ERR! node v4.0.0<br />
npm ERR! npm  v2.14.2<br />
npm ERR! code ELIFECYCLE<br />
npm ERR! magicmirror@2.0.0 start: <code>electron js/electron.js</code><br />
npm ERR! Exit status 1<br />
npm ERR!<br />
npm ERR! Failed at the magicmirror@2.0.0 start script ‘electron js/electron.js’.<br />
npm ERR! This is most likely a problem with the magicmirror package,<br />
npm ERR! not with npm itself.<br />
npm ERR! Tell the author that this fails on your system:<br />
npm ERR!     electron js/electron.js<br />
npm ERR! You can get their info via:<br />
npm ERR!     npm owner ls magicmirror<br />
npm ERR! There is likely additional logging output above.</p>
<p dir="auto">npm ERR! Please include the following file with any support request:<br />
npm ERR!     /home/pi/MagicMirror/npm-debug.log</p>
<p dir="auto">…</p>
<p dir="auto">GNU nano 2.2.6            File: /home/pi/MagicMirror/npm-debug.log</p>
<p dir="auto">0 info it worked if it ends with ok<br />
1 verbose cli [ ‘/usr/local/bin/node’, ‘/usr/local/bin/npm’, ‘start’ ]<br />
2 info using npm@2.14.2<br />
3 info using node@v4.0.0<br />
4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]<br />
5 info prestart magicmirror@2.0.0<br />
6 info start magicmirror@2.0.0<br />
7 verbose unsafe-perm in lifecycle true<br />
8 info magicmirror@2.0.0 Failed to exec start script<br />
9 verbose stack Error: magicmirror@2.0.0 start: <code>electron js/electron.js</code><br />
9 verbose stack Exit status 1<br />
9 verbose stack     at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecy$<br />
9 verbose stack     at emitTwo (events.js:87:13)<br />
9 verbose stack     at EventEmitter.emit (events.js:172:7)<br />
9 verbose stack     at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.$<br />
9 verbose stack     at emitTwo (events.js:87:13)<br />
9 verbose stack     at ChildProcess.emit (events.js:172:7)<br />
9 verbose stack     at maybeClose (internal/child_process.js:817:16)<br />
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)<br />
10 verbose pkgid magicmirror@2.0.0<br />
11 verbose cwd /home/pi/MagicMirror<br />
12 error Linux 4.4.19-v7+<br />
13 error argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”<br />
14 error node v4.0.0<br />
15 error npm  v2.14.2<br />
16 error code ELIFECYCLE<br />
17 error magicmirror@2.0.0 start: <code>electron js/electron.js</code><br />
17 error Exit status 1<br />
18 error Failed at the magicmirror@2.0.0 start script ‘electron js/electron.js’.<br />
18 error This is most likely a problem with the magicmirror package,<br />
18 error not with npm itself.<br />
18 error Tell the author that this fails on your system:<br />
18 error     electron js/electron.js<br />
18 error You can get their info via:<br />
18 error     npm owner ls magicmirror<br />
18 error There is likely additional logging output above.<br />
19 verbose exit [ 1, true ]</p>
]]></description><link>https://forum.magicmirror.builders/post/4274</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4274</guid><dc:creator><![CDATA[Jakllo]]></dc:creator><pubDate>Thu, 01 Sep 2016 16:50:44 GMT</pubDate></item><item><title><![CDATA[Reply to Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'. on Thu, 01 Sep 2016 16:22:38 GMT]]></title><description><![CDATA[<p dir="auto">Listen to Strawberry,  he knows.    I didn’t realize it was old.    His answer is much better</p>
]]></description><link>https://forum.magicmirror.builders/post/4273</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4273</guid><dc:creator><![CDATA[cowboysdude]]></dc:creator><pubDate>Thu, 01 Sep 2016 16:22:38 GMT</pubDate></item><item><title><![CDATA[Reply to Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'. on Thu, 01 Sep 2016 09:28:39 GMT]]></title><description><![CDATA[<p dir="auto">that must be a pretty old turorial when your running node on version 4</p>
<p dir="auto">i would recommend to take this tutorial <a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial">https://forum.magicmirror.builders/topic/236/complete-setup-tutorial</a></p>
]]></description><link>https://forum.magicmirror.builders/post/4263</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4263</guid><dc:creator><![CDATA[strawberry 3.141]]></dc:creator><pubDate>Thu, 01 Sep 2016 09:28:39 GMT</pubDate></item><item><title><![CDATA[Reply to Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'. on Thu, 01 Sep 2016 02:17:47 GMT]]></title><description><![CDATA[<p dir="auto">“npm install electron”  from a terminal window without quotes…</p>
]]></description><link>https://forum.magicmirror.builders/post/4249</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4249</guid><dc:creator><![CDATA[cowboysdude]]></dc:creator><pubDate>Thu, 01 Sep 2016 02:17:47 GMT</pubDate></item></channel></rss>