<?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[NPM ERR!]]></title><description><![CDATA[<p dir="auto">I’m not entirely sure why I am getting this error but I tried uninstalling and reinstalling node.js several times and of course, it has not fixed the issue. Then I saw a thread where MichMich said that the automatic installer should automatically install the latest node.js. At which point, I decided to run the automatic installer again “curl -sL <a href="https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh" target="_blank" rel="noopener noreferrer nofollow ugc">https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh</a> | bash”. It still does not work. I’m not sure what I am doing wrong but if you can spare a few minutes to help me i am more than grateful.</p>
<p dir="auto"><img src="/uploads/files/1465182392335-capture.png" alt="0_1465182280222_Capture.PNG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/topic/184/npm-err</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 10:56:27 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/184.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Jun 2016 03:06:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NPM ERR! on Mon, 06 Jun 2016 21:35:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eof" aria-label="Profile: EoF">@<bdi>EoF</bdi></a>, awesome. Thanks for that. Someone should start collecting all the various keyboard shortcuts and compile them in one post, possibly even on the wiki page. I’ve seen CTRL-W posted, this ALT-F2. One can also completely switch to a virtual console and back to the GUI by hitting CTRL-ALT-F[1-7] …</p>
]]></description><link>https://forum.magicmirror.builders/post/1402</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1402</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Mon, 06 Jun 2016 21:35:44 GMT</pubDate></item><item><title><![CDATA[Reply to NPM ERR! on Mon, 06 Jun 2016 21:01:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a> as a note on this reply, Alt + F2 (I think) will bring up the run dialog box from which you can launch lxterminal.</p>
]]></description><link>https://forum.magicmirror.builders/post/1399</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1399</guid><dc:creator><![CDATA[EoF]]></dc:creator><pubDate>Mon, 06 Jun 2016 21:01:21 GMT</pubDate></item><item><title><![CDATA[Reply to NPM ERR! on Mon, 06 Jun 2016 06:18:47 GMT]]></title><description><![CDATA[<p dir="auto">From here, you need to follow the configuration section: <a href="https://github.com/MichMich/MagicMirror#configuration" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror#configuration</a></p>
<p dir="auto">You can start by simply renaming the file from <code>'config.js.sample'</code> to <code>'config.js'</code> and restart the MagicMirror process. After that, you can start playing with the config file, disabling or (re)enabling modules, adding new ones … this is what you get to play with it.</p>
]]></description><link>https://forum.magicmirror.builders/post/1356</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1356</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Mon, 06 Jun 2016 06:18:47 GMT</pubDate></item><item><title><![CDATA[Reply to NPM ERR! on Mon, 06 Jun 2016 06:14:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a> OMG THE DISPLAY WORKS!  I’m super grateful for your help. It says that that I need to create a config file. The github instruction is not entirely clear on what I will need to do next.  Do I duplicate the config file?</p>
]]></description><link>https://forum.magicmirror.builders/post/1355</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1355</guid><dc:creator><![CDATA[MagicCrumps1]]></dc:creator><pubDate>Mon, 06 Jun 2016 06:14:21 GMT</pubDate></item><item><title><![CDATA[Reply to NPM ERR! on Mon, 06 Jun 2016 05:08:08 GMT]]></title><description><![CDATA[<p dir="auto">If you’re running this while logged in to the rPi (through the console), then you don’t need the <code>'DISPLAY=:0'</code> part. However, something to note: if you are logged into the rPi from the console (so you have a keyboard connected that you are logging in to it), the moment you run <code>'npm start'</code> and it successfully starts MM, you lose the ability to use anything else. There are keyboard shortcuts that you can hit to get back to the console but someone else will have to tell you those as I don’t know them off the top of my head.</p>
<p dir="auto">Ideally you would be connected to the rPi through a different machine on the same network. So you would SSH into the rPi, log in as the <code>'pi'</code> user, and then you DO need to set the display: <code>'DISPLAY=:0'</code> portion - <strong>note that it’s case specific!</strong></p>
<p dir="auto">So, to recap, yes to what you listed above, with the small caveat on #3.</p>
]]></description><link>https://forum.magicmirror.builders/post/1352</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1352</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Mon, 06 Jun 2016 05:08:08 GMT</pubDate></item><item><title><![CDATA[Reply to NPM ERR! on Mon, 06 Jun 2016 05:02:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi KarAsh4,</p>
<p dir="auto">Thank you so much for writing such detailed instructions. Let me recap:</p>
<ol>
<li>Update raspian ‘sudo apt-get update ; sudo apt-get upgrade’</li>
<li>Delete and reinstall auto installation<br />
a) ‘sudo rm -rf MagicMirror’<br />
b) ‘curl -sL <a href="https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh" target="_blank" rel="noopener noreferrer nofollow ugc">https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh</a> | bash’’</li>
<li>Perform ‘display:0 npm start’ inside MagicMirror by going running ‘cd MagicMirror’</li>
</ol>
<p dir="auto">Is this correct?</p>
<p dir="auto">I have no programming background :(</p>
]]></description><link>https://forum.magicmirror.builders/post/1351</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1351</guid><dc:creator><![CDATA[MagicCrumps1]]></dc:creator><pubDate>Mon, 06 Jun 2016 05:02:00 GMT</pubDate></item><item><title><![CDATA[Reply to NPM ERR! on Mon, 06 Jun 2016 03:58:29 GMT]]></title><description><![CDATA[<p dir="auto">A couple of things are standing out from that screen grab:</p>
<ul>
<li>You need to update your Raspbian installation by running <code>'sudo apt-get update ; sudo apt-get upgrade'</code></li>
<li>You appear to have an installation already for MagicMirror. If this was your failed one, go ahead and delete it and start over. All you need to do is run the automatic installer which takes care of checking and installing missing packages</li>
<li>At the bottom of your screen, where it says <code>'no such file or directory, open /home/pi/package.json'</code>, that’s because you are trying to start MM <em>outside</em> of its folder. You need to do that <em>inside</em> of it.</li>
</ul>
<p dir="auto">My recommended steps:</p>
<ul>
<li>Remove the current MagicMirror folder that you have: <code>'sudo rm -rf MagicMirror'</code></li>
<li>Run the automatic installer script, <code>'curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash'</code></li>
<li>When that finishes, change folder <em>into</em> the MagicMirror one: <code>'cd MagicMirror'</code></li>
<li>Try running it from there: <code>'npm start'</code></li>
</ul>
<p dir="auto">If that fails, try running an <code>'npm install'</code> in case, for some weird reason, something didn’t install. When that’s done running, try running <code>'npm start'</code> again. At this point, either MM will come up telling you that you need to create a configuration, or it will, once again, fail. If it’s the latter, capture the screen and post it.</p>
]]></description><link>https://forum.magicmirror.builders/post/1350</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1350</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Mon, 06 Jun 2016 03:58:29 GMT</pubDate></item></channel></rss>