<?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[Unable to install dependencies - npm not found]]></title><description><![CDATA[<p dir="auto">I’m trying to install Magic Mirror and when I type in the bash url, it says</p>
<p dir="auto">Installing dependencies …<br />
bash: line 112: npm: command not found<br />
Unable to install dependencies!</p>
]]></description><link>https://forum.magicmirror.builders/topic/9295/unable-to-install-dependencies-npm-not-found</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 05:09:24 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/9295.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Dec 2018 01:36:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to install dependencies - npm not found on Sun, 30 Dec 2018 15:01:04 GMT]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/9295/unable-to-install-dependencies-npm-not-found">Unable to install dependencies - npm not found</a></p>
<p dir="auto">With Rasbian of  2018-11-13, I had the same issue. So I installed only npm,</p>
<pre><code>sudo apt-get install npm
sudo npm install -g npm@latest
</code></pre>
<p dir="auto">Also I used the pre-built node which is 8.x in the latest version of Rasbian.<br />
While I install, I made a video and please check <a href="https://youtu.be/UBgH5hejYtM" target="_blank" rel="noopener noreferrer nofollow ugc">https://youtu.be/UBgH5hejYtM</a>.</p>
<p dir="auto">Thanks,</p>
<h2>Dependency Versions</h2>
<ol>
<li>OS : 2018-11-13-raspbian-stretch-full.img</li>
<li>MagicMirror2 : 2.5.0</li>
<li>MMM-Hotword :  1.1.0</li>
<li>MMM-AssistantMk2 : 2.1.2</li>
</ol>
]]></description><link>https://forum.magicmirror.builders/post/48865</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/48865</guid><dc:creator><![CDATA[makepluscode]]></dc:creator><pubDate>Sun, 30 Dec 2018 15:01:04 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to install dependencies - npm not found on Sun, 30 Dec 2018 05:25:26 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, that worked perfectly for me! I had the same issue.</p>
<p dir="auto">Although now I am forced to use  no Open GL driver for the MM to start up properly…well hopefully electron still doesn’t use massive amounts of CPU power to run without it now.</p>
]]></description><link>https://forum.magicmirror.builders/post/48851</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/48851</guid><dc:creator><![CDATA[reddyman]]></dc:creator><pubDate>Sun, 30 Dec 2018 05:25:26 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to install dependencies - npm not found on Thu, 27 Dec 2018 18:23:46 GMT]]></title><description><![CDATA[<p dir="auto">I had the same issue. Node.js was on the system, but apparently not npm. I tried installing just npm with <code>sudo apt-get install npm</code>, but this seemed to grab an incompatible version of npm. After this, the MagicMirror installation script got further than the first attempt, but still did not install the dependencies without error. So, don’t do that.</p>
<p dir="auto">Instead, remove/purge Node.js and grab latest, as <a class="plugin-mentions-user plugin-mentions-a" href="/user/mykle1" aria-label="Profile: Mykle1">@<bdi>Mykle1</bdi></a> suggests:</p>
<pre><code>sudo apt-get remove --purge nodejs
sudo apt autoremove
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
</code></pre>
<p dir="auto">This should install Node.js <em>and</em> npm. Once the installation finishes, sanity check the install with the following commands:</p>
<pre><code>node -v
npm -v
</code></pre>
<p dir="auto">Then, delete the MagicMirror folder from your previous installation attempt:</p>
<pre><code>rm -rf ~/MagicMirror/
</code></pre>
<p dir="auto">And try the MagicMirror installation script again.<br />
It installed successfully for me after this. Raspberry Pi 3 running Raspbian Stretch (in case that matters).</p>
]]></description><link>https://forum.magicmirror.builders/post/48688</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/48688</guid><dc:creator><![CDATA[jstewart-amd]]></dc:creator><pubDate>Thu, 27 Dec 2018 18:23:46 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to install dependencies - npm not found on Sat, 22 Dec 2018 02:15:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wickedflow" aria-label="Profile: wickedflow">@<bdi>wickedflow</bdi></a></p>
<p dir="auto">Try installing node.js, and so, npm to latest stable version. Then, try the MM installer script again.</p>
<p dir="auto">Worst case scenario, manually install MM.</p>
]]></description><link>https://forum.magicmirror.builders/post/48417</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/48417</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Sat, 22 Dec 2018 02:15:17 GMT</pubDate></item></channel></rss>