<?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[Permission denied after updating node.js and electron]]></title><description><![CDATA[<p dir="auto">Hi guys,<br />
after 1.5 years I thought that it would be time to update my Magic Mirror to version 2.18.0, including node.js and electron.<br />
But now when I want to start it, I face the following issue:</p>
<blockquote>
<p dir="auto">pi@raspberrypi:~/MagicMirror $ npm start<br />
magicmirror@2.18.0 start<br />
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js<br />
sh: 1: ./node_modules/.bin/electron: Permission denied</p>
</blockquote>
<p dir="auto">I also used Sam’s scripts to update: [<a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a>]…but it did not work either.</p>
<p dir="auto">Even changing the owner and reinstalling electron did not work:<br />
pi@raspberrypi:~ $ sudo chown -R pi MagicMirror<br />
pi@raspberrypi:~ $ npm install electron --unsafe-perm=true</p>
<p dir="auto">Has anybody further ideas how to make it work again? Thanks so much!</p>
<p dir="auto">@ I have a Raspberry Pi 3 Model B</p>
]]></description><link>https://forum.magicmirror.builders/topic/16519/permission-denied-after-updating-node-js-and-electron</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 18:29:07 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/16519.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 19 Mar 2022 20:18:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Permission denied after updating node.js and electron on Fri, 25 Mar 2022 22:23:52 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> Hi Sam,<br />
thanks very much for your great scripts. They really work like charm!</p>
<p dir="auto">Basic installation of the MagicMirror really worked without any issue using your scripts.<br />
I am just fighting with some modules, which are obviously not up to date, but that’s a different story.<br />
At least I found the root cause of an issue with MMM_systemtemperature and I hope that I could help some other beginners who struggled with that module and did not get support in corresponding forum up to now…or just misunderstood the instructions in the forum.</p>
<p dir="auto">I want to thank you so much for the great work you are doing for the MM community!</p>
]]></description><link>https://forum.magicmirror.builders/post/100537</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/100537</guid><dc:creator><![CDATA[SwissChemist]]></dc:creator><pubDate>Fri, 25 Mar 2022 22:23:52 GMT</pubDate></item><item><title><![CDATA[Reply to Permission denied after updating node.js and electron on Sun, 20 Mar 2022 21:17:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/swisschemist" aria-label="Profile: SwissChemist">@<bdi>SwissChemist</bdi></a> use my backup tool.<br />
<a href="https://github.com/sdetweil/MagicMirror-backup-restore" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror-backup-restore</a></p>
<p dir="auto">is saves config.js, custom.css and the GitHub urls of the add on modules</p>
<p dir="auto">then restore adds it all back after mm install</p>
<p dir="auto">download and run the backup script.</p>
<p dir="auto">save the three files</p>
<p dir="auto">then copy back after mm install<br />
then run restore</p>
]]></description><link>https://forum.magicmirror.builders/post/100449</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/100449</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 20 Mar 2022 21:17:16 GMT</pubDate></item><item><title><![CDATA[Reply to Permission denied after updating node.js and electron on Sun, 20 Mar 2022 20:59: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> Thanks for the hint!<br />
I tried to use the same backup on a different SD card, showed the same issue.<br />
Maybe I need to set it up from scratch on a different card…</p>
]]></description><link>https://forum.magicmirror.builders/post/100448</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/100448</guid><dc:creator><![CDATA[SwissChemist]]></dc:creator><pubDate>Sun, 20 Mar 2022 20:59:33 GMT</pubDate></item><item><title><![CDATA[Reply to Permission denied after updating node.js and electron on Fri, 25 Mar 2022 22:46:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/swisschemist" aria-label="Profile: SwissChemist">@<bdi>SwissChemist</bdi></a> this sounds like the used up sd card.</p>
<p dir="auto">the technology is write once. when the bits are  all consumed, the file system does not know, and the result is crazy results.</p>
<p dir="auto">sd card is great for low write devices. camera and music player. bad for operating system that uses paging all the time, writing to logs</p>
]]></description><link>https://forum.magicmirror.builders/post/100399</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/100399</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 25 Mar 2022 22:46:55 GMT</pubDate></item></channel></rss>