<?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]]></title><description><![CDATA[<p dir="auto">Every time I try to install the magic mirror by using the command …</p>
<pre><code>bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
</code></pre>
<p dir="auto">I get thrown with this error after its done cloning Magic Mirror</p>
<pre><code>Cloning MagicMirror Done!
Installing dependencies ...
(node:8859) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm WARN deprecated express-ipfilter@0.3.1: This package is no longer being maintained and contains security vulnerabilities
npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
npm ERR! Error: Method Not Allowed
npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
npm ERR!     at /usr/share/npm/lib/cache/add-named.js:203:12
npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     &lt;http://github.com/npm/npm/issues&gt;

npm ERR! System Linux 4.14.79-v7+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/pi/MagicMirror
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! code E405
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
|
&gt; electron-chromedriver@1.7.1 install /home/pi/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver
&gt; node ./download-chromedriver.js

npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist &gt;3.0 config used in other tools.
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/MagicMirror/npm-debug.log
npm ERR! not ok code 0
Unable to install dependencies!
</code></pre>
<p dir="auto">I’ve noticed the npm version is a little low, but when i try to get it to the latest version, I get thrown with this.</p>
<pre><code>pi@raspberrypi:~ $ npm install latest-version
(node:8905) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm ERR! tar.unpack untar error /home/pi/.npm/rc/1.2.8/package.tgz
npm ERR! Error: Method Not Allowed
npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
npm ERR!     at /usr/share/npm/lib/cache/add-named.js:203:12
npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     &lt;http://github.com/npm/npm/issues&gt;

npm ERR! System Linux 4.14.79-v7+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "latest-version"
npm ERR! cwd /home/pi
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! code E405
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/npm-debug.log
npm ERR! not ok code 0
</code></pre>
<p dir="auto">I also tried to update npm again, but i get this.</p>
<pre><code>pi@raspberrypi:~ $ npm install latest-version
(node:8915) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/pi/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc'
npm ERR! error rolling back  package-json@5.0.0 { Error: ENOTEMPTY: directory not empty, rmdir '/home/pi/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc'
npm ERR! error rolling back   errno: -39,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   syscall: 'rmdir',
npm ERR! error rolling back   path: '/home/pi/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc' }
npm ERR! tar.unpack untar error /home/pi/.npm/safe-buffer/5.1.2/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/pi/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules'
npm ERR! error rolling back  latest-version@4.0.0 { Error: ENOTEMPTY: directory not empty, rmdir '/home/pi/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules'
npm ERR! error rolling back   errno: -39,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   syscall: 'rmdir',
npm ERR! error rolling back   path: '/home/pi/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules' }
npm ERR! Error: Method Not Allowed
npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
npm ERR!     at /usr/share/npm/lib/cache/add-named.js:203:12
npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     &lt;http://github.com/npm/npm/issues&gt;

npm ERR! System Linux 4.14.79-v7+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "latest-version"
npm ERR! cwd /home/pi
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! code E405
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/npm-debug.log
npm ERR! not ok code 0
</code></pre>
<p dir="auto">The raspberry pi I’m using is a Raspberry Pi 3 Model B Rev 1.2.<br />
I’m not quite sure if the error is coming from this</p>
<pre><code>(node:8915) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
</code></pre>
<p dir="auto">or entirely something else.</p>
]]></description><link>https://forum.magicmirror.builders/topic/9258/unable-to-install-dependencies</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 00:20:27 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/9258.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Dec 2018 23:45:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to Install Dependencies on Sat, 15 Dec 2018 18:57:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alenba2" aria-label="Profile: alenba2">@<bdi>alenba2</bdi></a> Well MM definitely works with stretch but nevertheless… if it works, I guess it’s ok</p>
]]></description><link>https://forum.magicmirror.builders/post/48193</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/48193</guid><dc:creator><![CDATA[lavolp3]]></dc:creator><pubDate>Sat, 15 Dec 2018 18:57:03 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Install Dependencies on Sat, 15 Dec 2018 00:28:22 GMT]]></title><description><![CDATA[<p dir="auto">Yea I just solved the problem. I basically changed software from Raspbian Sketch to Raspbian Jessie. Thanks for helping.</p>
]]></description><link>https://forum.magicmirror.builders/post/48167</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/48167</guid><dc:creator><![CDATA[alenba2]]></dc:creator><pubDate>Sat, 15 Dec 2018 00:28:22 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Install Dependencies on Fri, 14 Dec 2018 08:07:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alenba2" aria-label="Profile: alenba2">@<bdi>alenba2</bdi></a> your npm and node versions are way too old.</p>
<p dir="auto">Update npm using:</p>
<pre><code>npm install npm@latest -g
</code></pre>
<p dir="auto">(you may need sudo access for that, I’m not sure anymore. Try without first.)</p>
<p dir="auto">Update node FOR EXAMPLE by using n:</p>
<pre><code>npm cache clean -f
npm install -g n
n stable
</code></pre>
<p dir="auto">Again, I’m not sure, try without sudo. If it’s not working try with sudo.</p>
]]></description><link>https://forum.magicmirror.builders/post/48147</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/48147</guid><dc:creator><![CDATA[lavolp3]]></dc:creator><pubDate>Fri, 14 Dec 2018 08:07:20 GMT</pubDate></item></channel></rss>