<?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[Mirror Update Permissions Error]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">My mirror is saying it needs an update but I get the following when I follow instructions to do so. Also, will the update take away all my modifications?</p>
<p dir="auto">npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/graceful-fs<br />
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/mkdirp<br />
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/nopt<br />
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules/safe-buffer<br />
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/npm-registry-fetch<br />
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/spdx-license-ids<br />
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm<br />
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules<br />
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules<br />
npm WARN checkPermissions Missing write access to /usr/lib/node_modules<br />
npm ERR! code EACCES<br />
npm ERR! syscall access<br />
npm ERR! path /usr/lib/node_modules/npm/node_modules/graceful-fs<br />
npm ERR! errno -13<br />
npm ERR! Error: EACCES: permission denied, access ‘/usr/lib/node_modules/npm/node_modules/graceful-fs’<br />
npm ERR!  { [Error: EACCES: permission denied, access ‘/usr/lib/node_modules/npm/node_modules/graceful-fs’]<br />
npm ERR!   stack:<br />
npm ERR!    ‘Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/graceful-fs'’,<br />
npm ERR!   errno: -13,<br />
npm ERR!   code: ‘EACCES’,<br />
npm ERR!   syscall: ‘access’,<br />
npm ERR!   path: ‘/usr/lib/node_modules/npm/node_modules/graceful-fs’ }<br />
npm ERR!<br />
npm ERR! The operation was rejected by your operating system.<br />
npm ERR! It is likely you do not have the permissions to access this file as the current user<br />
npm ERR!<br />
npm ERR! If you believe this might be a permissions issue, please double-check the<br />
npm ERR! permissions of the file and its containing directories, or try running<br />
npm ERR! the command again as root/Administrator.</p>
<p dir="auto">npm ERR! A complete log of this run can be found in:<br />
npm ERR!     /home/pi/.npm/_logs/2020-07-09T16_54_50_536Z-debug.log</p>
]]></description><link>https://forum.magicmirror.builders/topic/13233/mirror-update-permissions-error</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 18:21:32 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13233.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 09 Jul 2020 17:00:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mirror Update Permissions Error on Sun, 16 Aug 2020 11:30:44 GMT]]></title><description><![CDATA[<p dir="auto">Ok thanks all, will try :) Sorry for being clueless :man_facepalming_light_skin_tone:</p>
]]></description><link>https://forum.magicmirror.builders/post/80211</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80211</guid><dc:creator><![CDATA[xxLulaBelle]]></dc:creator><pubDate>Sun, 16 Aug 2020 11:30:44 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Fri, 14 Aug 2020 20:16:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> I agree, your scripts works wonders.</p>
]]></description><link>https://forum.magicmirror.builders/post/80186</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80186</guid><dc:creator><![CDATA[mumblebaj]]></dc:creator><pubDate>Fri, 14 Aug 2020 20:16:03 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Fri, 14 Aug 2020 17:18:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mumblebaj" aria-label="Profile: mumblebaj">@<bdi>mumblebaj</bdi></a> that works, but. he made a change. let’s not lose this if it’s important.</p>
<p dir="auto">use my script anyhow. solves lots of other problems with modules too</p>
]]></description><link>https://forum.magicmirror.builders/post/80178</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80178</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 14 Aug 2020 17:18:51 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Fri, 14 Aug 2020 17:17:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xxlulabelle" aria-label="Profile: xxLulaBelle">@<bdi>xxLulaBelle</bdi></a> from the mm folder do</p>
<pre><code>grep version package.json
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/80177</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80177</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 14 Aug 2020 17:17:52 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Fri, 14 Aug 2020 16:33:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xxlulabelle" aria-label="Profile: xxLulaBelle">@<bdi>xxLulaBelle</bdi></a> usually when I have this issue i run the following the the MagicMirror folder:</p>
<p dir="auto"><code>git reset --hard</code><br />
then<br />
<code>git pull &amp;&amp; npm install</code><br />
That works for me and I am able to update</p>
]]></description><link>https://forum.magicmirror.builders/post/80176</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80176</guid><dc:creator><![CDATA[mumblebaj]]></dc:creator><pubDate>Fri, 14 Aug 2020 16:33:24 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Fri, 14 Aug 2020 16:16:15 GMT]]></title><description><![CDATA[<p dir="auto">I have no idea Sam. Honestly complete newb, don’t know what I’m donig half the time :man_facepalming_light_skin_tone:</p>
]]></description><link>https://forum.magicmirror.builders/post/80175</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80175</guid><dc:creator><![CDATA[xxLulaBelle]]></dc:creator><pubDate>Fri, 14 Aug 2020 16:16:15 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Thu, 13 Aug 2020 16:36:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xxlulabelle" aria-label="Profile: xxLulaBelle">@<bdi>xxLulaBelle</bdi></a> what version r u on?</p>
<p dir="auto">grep version package.json</p>
]]></description><link>https://forum.magicmirror.builders/post/80139</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80139</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 13 Aug 2020 16:36:24 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Thu, 13 Aug 2020 15:42:09 GMT]]></title><description><![CDATA[<p dir="auto">Sorry realised I hadn’t opened Mirror…</p>
<p dir="auto">diff --git a/package.json b/package.json<br />
index 317969e…10a0407 100644<br />
— a/package.json<br />
+++ b/package.json<br />
@@ -39,7 +39,7 @@<br />
“chai”: “^4.1.2”,<br />
“chai-as-promised”: “^7.1.1”,<br />
“current-week-number”: “^1.0.7”,</p>
<ul>
<li>“danger”: “^3.1.3”,</li>
</ul>
<ul>
<li>“danger”: “^10.2.0”,<br />
“grunt”: “latest”,<br />
“grunt-eslint”: “latest”,<br />
“grunt-jsonlint”: “latest”,<br />
@@ -48,7 +48,7 @@<br />
“grunt-yamllint”: “latest”,<br />
“http-auth”: “^3.2.3”,<br />
“jsdom”: “^11.6.2”,</li>
</ul>
<ul>
<li>“mocha”: “^7.0.0”,</li>
</ul>
<ul>
<li>“mocha”: “^8.0.1”,<br />
“mocha-each”: “^1.1.0”,<br />
“mocha-logger”: “^1.0.6”,<br />
“spectron”: “^8.0.0”,</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/post/80135</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80135</guid><dc:creator><![CDATA[xxLulaBelle]]></dc:creator><pubDate>Thu, 13 Aug 2020 15:42:09 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Thu, 13 Aug 2020 15:38:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> said in <a href="/post/80129">Mirror Update Permissions Error</a>:</p>
<blockquote>
<p dir="auto">git diff package.json</p>
</blockquote>
<p dir="auto">pi@raspberrypi:~ $ git diff package.json<br />
Not a git repository<br />
To compare two paths outside a working tree:<br />
usage: git diff [–no-index]  </p>
]]></description><link>https://forum.magicmirror.builders/post/80133</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80133</guid><dc:creator><![CDATA[xxLulaBelle]]></dc:creator><pubDate>Thu, 13 Aug 2020 15:38:56 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Thu, 13 Aug 2020 12:10:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xxlulabelle" aria-label="Profile: xxLulaBelle">@<bdi>xxLulaBelle</bdi></a> we don’t care about the package-lock.json file</p>
<p dir="auto">but the package.json maybe</p>
<p dir="auto">do</p>
<pre><code>git diff package.json
</code></pre>
<p dir="auto">to see what was changed.</p>
<p dir="auto">my update script, from here, <a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a>, might have helped.</p>
]]></description><link>https://forum.magicmirror.builders/post/80129</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80129</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 13 Aug 2020 12:10:17 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Thu, 13 Aug 2020 08:18:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Now getting this when I try to update.</p>
<p dir="auto">pi@raspberrypi:~/MagicMirror $ git pull &amp;&amp; npm install<br />
Updating 447c0bf…018cb91<br />
error: Your local changes to the following files would be overwritten by merge:<br />
package-lock.json<br />
package.json<br />
Please commit your changes or stash them before you merge.<br />
Aborting</p>
]]></description><link>https://forum.magicmirror.builders/post/80125</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80125</guid><dc:creator><![CDATA[xxLulaBelle]]></dc:creator><pubDate>Thu, 13 Aug 2020 08:18:43 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Sat, 11 Jul 2020 14:11:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xxlulabelle" aria-label="Profile: xxLulaBelle">@<bdi>xxLulaBelle</bdi></a><br />
like this notice the dash - in front of the r</p>
<pre><code>sudo chown -R pi ~/.npm
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/78355</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78355</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 11 Jul 2020 14:11:00 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Sat, 11 Jul 2020 13:32:12 GMT]]></title><description><![CDATA[<p dir="auto">Apologies I don’t speak the language so I don’t understand it unfortunately but I did a capital R and got the following:</p>
<p dir="auto">chown: invalid option – ‘r’<br />
Try ‘chown --help’ for more information.</p>
]]></description><link>https://forum.magicmirror.builders/post/78353</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78353</guid><dc:creator><![CDATA[xxLulaBelle]]></dc:creator><pubDate>Sat, 11 Jul 2020 13:32:12 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Sat, 11 Jul 2020 13:22:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xxlulabelle" aria-label="Profile: xxLulaBelle">@<bdi>xxLulaBelle</bdi></a> look at the help, does it need capital R, not near my computer</p>
]]></description><link>https://forum.magicmirror.builders/post/78352</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78352</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 11 Jul 2020 13:22:00 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Sat, 11 Jul 2020 13:17:12 GMT]]></title><description><![CDATA[<p dir="auto">I tried the above as suggested but get this error now:</p>
<p dir="auto">chown: invalid option – ‘r’<br />
Try ‘chown --help’ for more information.</p>
]]></description><link>https://forum.magicmirror.builders/post/78351</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78351</guid><dc:creator><![CDATA[xxLulaBelle]]></dc:creator><pubDate>Sat, 11 Jul 2020 13:17:12 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Thu, 09 Jul 2020 19:02:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> thank you will try this.</p>
]]></description><link>https://forum.magicmirror.builders/post/78266</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78266</guid><dc:creator><![CDATA[xxLulaBelle]]></dc:creator><pubDate>Thu, 09 Jul 2020 19:02:26 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror Update Permissions Error on Thu, 09 Jul 2020 17:29:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xxlulabelle" aria-label="Profile: xxLulaBelle">@<bdi>xxLulaBelle</bdi></a> do this</p>
<pre><code>cd ~/MagicMirror
sudo chown -r pi node_modules
</code></pre>
<p dir="auto">then update again<br />
may have to do the same for the npm library catalog</p>
<p dir="auto">sudo chown -r pi ~/.npm</p>
]]></description><link>https://forum.magicmirror.builders/post/78263</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78263</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 09 Jul 2020 17:29:09 GMT</pubDate></item></channel></rss>