<?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[help! npm start error: Failed at the start script 'electron js/electron.js'.]]></title><description><![CDATA[<p dir="auto">pi@raspberrypi:~/MagicMirror $ npm start</p>
<blockquote>
<p dir="auto">magicmirror@2.0.0 start /home/pi/MagicMirror<br />
electron js/electron.js</p>
</blockquote>
<p dir="auto">fs.js:640<br />
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);<br />
^</p>
<p dir="auto">Error: ENOENT: no such file or directory, open ‘/home/pi/MagicMirror/node_modules/electron/path.txt’<br />
at Error (native)<br />
at Object.fs.openSync (fs.js:640:18)<br />
at Object.fs.readFileSync (fs.js:508:33)<br />
at Object. (/home/pi/MagicMirror/node_modules/electron/index.js:4:42)<br />
at Module._compile (module.js:570:32)<br />
at Object.Module._extensions…js (module.js:579:10)<br />
at Module.load (module.js:487:32)<br />
at tryModuleLoad (module.js:446:12)<br />
at Function.Module._load (module.js:438:3)<br />
at Module.require (module.js:497:17)</p>
<p dir="auto">npm ERR! Linux 4.4.21-v7+<br />
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”<br />
npm ERR! node v6.9.1<br />
npm ERR! npm  v3.10.8<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! Make sure you have the latest version of node.js and npm installed.<br />
npm ERR! If you do, 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 information on how to open an issue for this project with:<br />
npm ERR!     npm bugs magicmirror<br />
npm ERR! Or if that isn’t available, 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">how can i fix this?</p>
]]></description><link>https://forum.magicmirror.builders/topic/1017/help-npm-start-error-failed-at-the-start-script-electron-js-electron-js</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 03:13:01 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/1017.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 19 Nov 2016 05:02:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to help! npm start error: Failed at the start script 'electron js/electron.js'. on Mon, 21 Nov 2016 07:19:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tajno" aria-label="Profile: tajno">@<bdi>tajno</bdi></a> ,</p>
<p dir="auto">Had the same problem.<br />
Installed and reinstalled several times, manually and with the automated script.</p>
<p dir="auto">It looked to me it was a problem installing grunt and electron.<br />
I had to install them with sudo.<br />
Still did not work, but when I renamed the magicmirror folder and “reinstalled” magicmirror using curl command with sudo, it worked.<br />
Some privileges problem maybe somewhere?</p>
]]></description><link>https://forum.magicmirror.builders/post/8298</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/8298</guid><dc:creator><![CDATA[Sintei]]></dc:creator><pubDate>Mon, 21 Nov 2016 07:19:23 GMT</pubDate></item><item><title><![CDATA[Reply to help! npm start error: Failed at the start script 'electron js/electron.js'. on Sun, 20 Nov 2016 17:26:16 GMT]]></title><description><![CDATA[<p dir="auto">Sounds that now grunt is not installed…</p>
<p dir="auto">Try:<br />
npm install -g grunt<br />
after them again npm install -g electron</p>
<p dir="auto">Btw. how did you install the mirror? By yourself or with the suggested curl command?</p>
]]></description><link>https://forum.magicmirror.builders/post/8283</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/8283</guid><dc:creator><![CDATA[tajno]]></dc:creator><pubDate>Sun, 20 Nov 2016 17:26:16 GMT</pubDate></item><item><title><![CDATA[Reply to help! npm start error: Failed at the start script 'electron js/electron.js'. on Sun, 20 Nov 2016 11:28:22 GMT]]></title><description><![CDATA[<p dir="auto">Tajno - just tried that now - got this message</p>
<p dir="auto">npm WARN grunt-yamllint@0.2.0 requires a peer of grunt@~0.4.0 but none was installed.</p>
<p dir="auto">No idea what means …</p>
<p dir="auto">and when I tried to start magic mirror got this :</p>
<blockquote>
<p dir="auto">magicmirror@2.0.0 start /home/pi/MagicMirror<br />
electron js/electron.js</p>
</blockquote>
<p dir="auto">npm ERR! Linux 4.4.32-v7+<br />
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “start”<br />
npm ERR! node v6.9.1<br />
npm ERR! npm  v3.10.8<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! Make sure you have the latest version of node.js and npm installed.<br />
npm ERR! If you do, 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 information on how to open an issue for this project with:<br />
npm ERR!     npm bugs magicmirror<br />
npm ERR! Or if that isn’t available, 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">Thanks for your suggestions - got any more idea’s ? as I’d really like to this working</p>
]]></description><link>https://forum.magicmirror.builders/post/8257</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/8257</guid><dc:creator><![CDATA[msheen]]></dc:creator><pubDate>Sun, 20 Nov 2016 11:28:22 GMT</pubDate></item><item><title><![CDATA[Reply to help! npm start error: Failed at the start script 'electron js/electron.js'. on Sun, 20 Nov 2016 05:04:14 GMT]]></title><description><![CDATA[<p dir="auto">Did you tried “npm install electron”?</p>
]]></description><link>https://forum.magicmirror.builders/post/8248</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/8248</guid><dc:creator><![CDATA[tajno]]></dc:creator><pubDate>Sun, 20 Nov 2016 05:04:14 GMT</pubDate></item><item><title><![CDATA[Reply to help! npm start error: Failed at the start script 'electron js/electron.js'. on Sat, 19 Nov 2016 16:41:39 GMT]]></title><description><![CDATA[<p dir="auto">I’ve got exactly the same problem …<br />
Anybody got any idea’s ?</p>
<p dir="auto">I’ve googled it there seems a few people with the problem but no answers<br />
Any help would be appreciated.</p>
]]></description><link>https://forum.magicmirror.builders/post/8236</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/8236</guid><dc:creator><![CDATA[msheen]]></dc:creator><pubDate>Sat, 19 Nov 2016 16:41:39 GMT</pubDate></item></channel></rss>