<?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[Errors when trying to start MagicMirror - New to Pi]]></title><description><![CDATA[<p dir="auto">I am getting the following errors when I run “npm start”</p>
<pre><code>pi@raspberrypi:~/MagicMirror $ cd /home/pi
pi@raspberrypi:~ $ npm start
npm ERR! Linux 4.4.50-v7+
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v6.13.1
npm ERR! npm  v3.10.10
npm ERR! path /home/pi/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/npm-debug.log
pi@raspberrypi:~ $
</code></pre>
<p dir="auto">HERE IS A COPY OF THE DEBUG LOG:</p>
<pre><code>0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using npm@3.10.10
3 info using node@v6.13.1
4 verbose config Skipping project config: /home/pi/.npmrc. (matches userconfig)
5 verbose stack Error: ENOENT: no such file or directory, open '/home/pi/package.json'
5 verbose stack     at Error (native)
6 verbose cwd /home/pi
7 error Linux 4.4.50-v7+
8 error argv "/usr/bin/node" "/usr/bin/npm" "start"
9 error node v6.13.1
10 error npm  v3.10.10
11 error path /home/pi/package.json
12 error code ENOENT
13 error errno -2
14 error syscall open
15 error enoent ENOENT: no such file or directory, open '/home/pi/package.json'
16 error enoent ENOENT: no such file or directory, open '/home/pi/package.json'
16 error enoent This is most likely not a problem with npm itself
16 error enoent and is related to npm not being able to find a file.
17 verbose exit [ -2, true ]
</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/6767/errors-when-trying-to-start-magicmirror-new-to-pi</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 17:15:35 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/6767.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Mar 2018 10:01:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Errors when trying to start MagicMirror - New to Pi on Wed, 14 Mar 2018 00:20:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/seaginator" aria-label="Profile: SEAGINATOR">@<bdi>SEAGINATOR</bdi></a> said in <a href="/post/36966">Errors when trying to start MagicMirror - New to Pi</a>:</p>
<blockquote>
<p dir="auto">Error: Electron failed to install correctly, <strong>please delete node_modules/electron and try installing again</strong></p>
</blockquote>
<p dir="auto">The error is telling you how to correct the problem</p>
]]></description><link>https://forum.magicmirror.builders/post/36978</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36978</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Wed, 14 Mar 2018 00:20:26 GMT</pubDate></item><item><title><![CDATA[Reply to Errors when trying to start MagicMirror - New to Pi on Tue, 13 Mar 2018 16:04:41 GMT]]></title><description><![CDATA[<p dir="auto">I just got my R Pi 3, installed Raspbian Stretch with Desktop, and tried to install Magic Mirror.</p>
<p dir="auto">I was getting “hash sum mismatch” on package updates until <strong>I plugged in a network cable</strong> (instead of using WiFi).  The packages updated properly, and Magic Mirror installed and ran fine showing the default modules!</p>
]]></description><link>https://forum.magicmirror.builders/post/36969</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36969</guid><dc:creator><![CDATA[BrentFraser]]></dc:creator><pubDate>Tue, 13 Mar 2018 16:04:41 GMT</pubDate></item><item><title><![CDATA[Reply to Errors when trying to start MagicMirror - New to Pi on Tue, 13 Mar 2018 15:10:44 GMT]]></title><description><![CDATA[<p dir="auto">you have to install first and then start with npm install &amp;&amp; npm start</p>
]]></description><link>https://forum.magicmirror.builders/post/36968</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36968</guid><dc:creator><![CDATA[NoNameRo]]></dc:creator><pubDate>Tue, 13 Mar 2018 15:10:44 GMT</pubDate></item><item><title><![CDATA[Reply to Errors when trying to start MagicMirror - New to Pi on Tue, 13 Mar 2018 14:27:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mykle1" aria-label="Profile: Mykle1">@<bdi>Mykle1</bdi></a><br />
I went into the directory you gave me and this is what it gave me back;<br />
pi@raspberrypi:~ $ cd MagicMirror<br />
pi@raspberrypi:~/MagicMirror $ npm start</p>
<blockquote>
<p dir="auto">magicmirror@2.2.2 start /home/pi/MagicMirror<br />
sh <a href="http://run-start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">run-start.sh</a></p>
</blockquote>
<p dir="auto">/home/pi/MagicMirror/node_modules/electron/index.js:9<br />
throw new Error(‘Electron failed to install correctly, please delete node_modules/’ + path.basename(__dirname) + ’ 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 Object. (/home/pi/MagicMirror/node_modules/electron/index.js:9:9)<br />
at Module._compile (module.js:577:32)<br />
at Object.Module._extensions…js (module.js:586:10)<br />
at Module.load (module.js:494:32)<br />
at tryModuleLoad (module.js:453:12)<br />
at Function.Module._load (module.js:445:3)<br />
at Module.require (module.js:504:17)<br />
at require (internal/module.js:20:19)<br />
at Object. (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)<br />
at Module._compile (module.js:577:32)</p>
<p dir="auto">npm ERR! Linux 4.4.50-v7+<br />
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “start”<br />
npm ERR! node v6.13.1<br />
npm ERR! npm  v3.10.10<br />
npm ERR! code ELIFECYCLE<br />
npm ERR! magicmirror@2.2.2 start: <code>sh run-start.sh</code><br />
npm ERR! Exit status 1<br />
npm ERR!<br />
npm ERR! Failed at the magicmirror@2.2.2 start script ‘sh <a href="http://run-start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">run-start.sh</a>’.<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!     sh <a href="http://run-start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">run-start.sh</a><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<br />
pi@raspberrypi:~/MagicMirror $</p>
<p dir="auto">To be honest I have no idea how I messed this up. I simply pasted the bash code on the website and hit enter. then tried npm start.</p>
]]></description><link>https://forum.magicmirror.builders/post/36966</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36966</guid><dc:creator><![CDATA[SEAGINATOR]]></dc:creator><pubDate>Tue, 13 Mar 2018 14:27:18 GMT</pubDate></item><item><title><![CDATA[Reply to Errors when trying to start MagicMirror - New to Pi on Tue, 13 Mar 2018 11:22:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/seaginator" aria-label="Profile: SEAGINATOR">@<bdi>SEAGINATOR</bdi></a> said in <a href="/post/36957">Errors when trying to start MagicMirror - New to Pi</a>:</p>
<blockquote>
<p dir="auto">pi@raspberrypi:~/MagicMirror $ cd /home/pi<br />
pi@raspberrypi:~ $ npm start</p>
</blockquote>
<p dir="auto">It looks as though you’re running <code>npm start</code> in the wrong directory. Please try <code>cd MagicMirror</code> and then <code>npm start</code> in  <code> pi@raspberrypi:~/MagicMirror $</code></p>
]]></description><link>https://forum.magicmirror.builders/post/36959</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36959</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Tue, 13 Mar 2018 11:22:32 GMT</pubDate></item></channel></rss>