<?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[Error: EACCES: permission denied]]></title><description><![CDATA[<p dir="auto">So I am quite a bit rusty using Linux based OS and am encountering an error, or two, trying to install &amp; run the program. Not sure where exactly the issue is steaming from and I followed all the directions to the letter, rebooted a few times, and still nothing.</p>
<p dir="auto">Downloaded and Installed as root, deleted electronics and tried to repair/re download as suggested and still nothing again.</p>
<p dir="auto">I think its a permission error, but not sure what exactly to change (or how if that’s the case).</p>
<p dir="auto">One of my attempts:</p>
<pre><code>root@GenospherePi:/MagicMirror# npm start

&gt; magicmirror@2.12.0 start /MagicMirror
&gt; DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

sh: 1: ./node_modules/.bin/electron: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the magicmirror@2.12.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-08-18T17_33_01_418Z-debug.log
root@GenospherePi:/MagicMirror# cd
root@GenospherePi:~# cd /
root@GenospherePi:/# rm -r MagicMirror
root@GenospherePi:/# git clone https://github.com/MichMich/MagicMirror
Cloning into 'MagicMirror'...
remote: Enumerating objects: 12, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 15875 (delta 2), reused 0 (delta 0), pack-reused 15863
Receiving objects: 100% (15875/15875), 15.34 MiB | 1.41 MiB/s, done.
Resolving deltas: 100% (9421/9421), done.
root@GenospherePi:/# cd /MagicMirror
root@GenospherePi:/MagicMirror# npm install

&gt; electron-chromedriver@6.0.0 install /MagicMirror/node_modules/electron-chromedriver
&gt; node ./download-chromedriver.js

/MagicMirror/node_modules/electron-chromedriver/download-chromedriver.js:19
  if (err != null) throw err
                   ^

Error: EACCES: permission denied, mkdir '/MagicMirror/node_modules/electron-chromedriver/.electron'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron-chromedriver@6.0.0 install: `node ./download-chromedriver.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the electron-chromedriver@6.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-08-18T17_36_46_469Z-debug.log
root@GenospherePi:/MagicMirror# npm install -g npm
/usr/bin/npm -&gt; /usr/lib/node_modules/npm/bin/npm-cli.js
/usr/bin/npx -&gt; /usr/lib/node_modules/npm/bin/npx-cli.js
+ npm@6.14.8
added 17 packages from 3 contributors, removed 18 packages and updated 20 packages in 26.194s
root@GenospherePi:/MagicMirror# ^C
root@GenospherePi:/MagicMirror# ^C


</code></pre>
<p dir="auto">EDIT:<br />
Tried<br />
sudo chown -R [root]:[root] /MagicMirror<br />
Nothing</p>
<p dir="auto">Using a Pi4 with the pre-installed os provided.</p>
<p dir="auto">Tanks for any help,<br />
Skol</p>
]]></description><link>https://forum.magicmirror.builders/topic/13479/error-eacces-permission-denied</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 16:26:26 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13479.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Aug 2020 18:34:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error: EACCES: permission denied on Tue, 18 Aug 2020 20:55:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/genosphere" aria-label="Profile: Genosphere">@<bdi>Genosphere</bdi></a>  the script adds the empty custom.css, and fixes misc problems on different platforms</p>
<p dir="auto">pm2 --help</p>
<p dir="auto">will show you all the commands,<br />
you can use the name of the pm2 setup, or the number</p>
<p dir="auto">pm2 restart MagicMirror<br />
or<br />
pm2 restart 0</p>
<p dir="auto">is there anything else… ??</p>
<p dir="auto">no. the objective is to get you up and running, ready for all the rest of the things to work …</p>
<p dir="auto">read this<br />
<a href="https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners?_=1597692865004">https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners?_=1597692865004</a></p>
]]></description><link>https://forum.magicmirror.builders/post/80307</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80307</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 18 Aug 2020 20:55:40 GMT</pubDate></item><item><title><![CDATA[Reply to Error: EACCES: permission denied on Tue, 18 Aug 2020 20:52:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/genosphere" aria-label="Profile: Genosphere">@<bdi>Genosphere</bdi></a> said in <a href="/post/80304">Error: EACCES: permission denied</a>:</p>
<blockquote>
<p dir="auto">The reason I asked is because of the install instructions here versus the string you posted the install processes appeared completely different (without me using sudo on first install).</p>
</blockquote>
<p dir="auto">the next section says</p>
<pre><code>Alternative Installation Methods   
The following installation methods are not maintained by the MagicMirror² core team. Use these scripts and methods at your own risk.

#Automatic Installation Scripts
Sam (@sdetweil, long time contributor of the MagicMirror² framework) maintains a easy to use installation and update script: https://github.com/sdetweil/MagicMirror_scripts
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/80305</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80305</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 18 Aug 2020 20:52:41 GMT</pubDate></item><item><title><![CDATA[Reply to Error: EACCES: permission denied on Tue, 18 Aug 2020 20:50:48 GMT]]></title><description><![CDATA[<p dir="auto">I did read the instructions with initial install of the os, but was still getting issues. The wipe proved to “fix” things and now its running.</p>
<p dir="auto"><em>“nothing… I provided a link to the repo, which documents the commands to issue to do certain tasks…(then run the install script from here)”</em></p>
<p dir="auto">The reason I asked is because of the install instructions <a href="https://docs.magicmirror.builders/getting-started/installation.html#manual-installation" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> versus the string you posted the install processes appeared completely different (without me using sudo on first install).</p>
<p dir="auto">Any who, If i understand what the terminal is showing me, then to start and stop the MM so i can tweak things or access everything else Ill be using:</p>
<pre><code>cd ~/MagicMirror

pm2 start MagicMirror #to start

#and
pm2 stop MagicMirror #to stop
</code></pre>
<p dir="auto">(Which does work)</p>
<p dir="auto">Is there anything else that this"version" or method of install I should be concerned with when updating or adding on custom CSS stuff that I might have missed/overlooked?</p>
<p dir="auto">Thanks for the help (typical user error).</p>
]]></description><link>https://forum.magicmirror.builders/post/80304</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80304</guid><dc:creator><![CDATA[Genosphere]]></dc:creator><pubDate>Tue, 18 Aug 2020 20:50:48 GMT</pubDate></item><item><title><![CDATA[Reply to Error: EACCES: permission denied on Tue, 18 Aug 2020 20:21:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/genosphere" aria-label="Profile: Genosphere">@<bdi>Genosphere</bdi></a> nothing… I provided a link to the repo, which documents the commands to issue to do certain tasks…(then run the install script from here)</p>
<p dir="auto">the first task in the repo is the installation task, which is the second and actual command  I posted.<br />
(to execute the install script, cut/paste this line into the terminal window on your device (I can’t say PI, cause it works in a lot of other places too))</p>
<p dir="auto">I am trying to figure out what the problem is, cause of late, it seems no one is able to read what I wrote for instructions.</p>
]]></description><link>https://forum.magicmirror.builders/post/80303</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80303</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 18 Aug 2020 20:21:16 GMT</pubDate></item><item><title><![CDATA[Reply to Error: EACCES: permission denied on Tue, 18 Aug 2020 20:12:33 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><br />
Already wiped it and trying again. Remember, i am bit of a noob with general command lines still. I figured I messed something up, but that is the beauty with this stuff. Im learning was not to do it. hahaha</p>
<p dir="auto">Whats the difference between the link on the main sites page versus the link you provided?</p>
<p dir="auto">Ill update with what happens soon.</p>
]]></description><link>https://forum.magicmirror.builders/post/80302</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80302</guid><dc:creator><![CDATA[Genosphere]]></dc:creator><pubDate>Tue, 18 Aug 2020 20:12:33 GMT</pubDate></item><item><title><![CDATA[Reply to Error: EACCES: permission denied on Tue, 18 Aug 2020 19:21:47 GMT]]></title><description><![CDATA[<p dir="auto">this is the install instructions</p>
<p dir="auto">to execute the install script, cut/paste this line into the terminal window on your device (I can’t say PI, cause it works in a lot of other places too)</p>
<pre><code>bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
</code></pre>
<p dir="auto">there is a log file, MagicMirror/install.log, created so we can be able to diagnose any problems</p>
<p dir="auto">anyhow…  i can’t imagine what is messed up now… reflash the sd card and start again… logon as pi and run the script</p>
]]></description><link>https://forum.magicmirror.builders/post/80301</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80301</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 18 Aug 2020 19:21:47 GMT</pubDate></item><item><title><![CDATA[Reply to Error: EACCES: permission denied on Tue, 18 Aug 2020 19:14:47 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/80296">Error: EACCES: permission denied</a>:</p>
<blockquote>
<p dir="auto"><a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a></p>
</blockquote>
<p dir="auto">This is what I get from the install directions from the provided link:</p>
<p dir="auto">fatal: could not create work tree dir ‘MagicMirror’: Permission denied<br />
tee: /home/pi/install.log: Permission denied</p>
]]></description><link>https://forum.magicmirror.builders/post/80300</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80300</guid><dc:creator><![CDATA[Genosphere]]></dc:creator><pubDate>Tue, 18 Aug 2020 19:14:47 GMT</pubDate></item><item><title><![CDATA[Reply to Error: EACCES: permission denied on Tue, 18 Aug 2020 19:07:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/genosphere" aria-label="Profile: Genosphere">@<bdi>Genosphere</bdi></a> said in <a href="/post/80294">Error: EACCES: permission denied</a>:</p>
<blockquote>
<p dir="auto">Downloaded and Installed as root,</p>
</blockquote>
<p dir="auto">never use sudo…<br />
never logon as root</p>
<p dir="auto">logon as some non- root user, pi is the default,<br />
then run the install script  from here</p>
<pre><code>https://github.com/sdetweil/MagicMirror_scripts
</code></pre>
<p dir="auto">cut/paste one line</p>
]]></description><link>https://forum.magicmirror.builders/post/80296</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80296</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 18 Aug 2020 19:07:14 GMT</pubDate></item></channel></rss>