<?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[Trouble installing MM on Raspberry Pi Desktop for PC]]></title><description><![CDATA[<p dir="auto">Hi, I’ve run into trouble trying to install MagicMirror on an old intel NUC, on top of an installation of <strong>Debian with Raspberry Pi Desktop for PC/Mac</strong> from</p>
<p dir="auto"><a href="https://www.raspberrypi.com/software/raspberry-pi-desktop/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.com/software/raspberry-pi-desktop/</a></p>
<p dir="auto">It looks like Raspberry Pi Desktop is based on Debian Bullseye:</p>
<p dir="auto">Debian Bullseye with Raspberry Pi Desktop<br />
Release date: July 1st 2022<br />
System: 32-bit<br />
Kernel version: 5.10<br />
Debian version: 11 (bullseye)</p>
<p dir="auto">Installation of Raspberry Pi Desktop from the image on USB seemed successful and the machine boots to a desktop OK.</p>
<p dir="auto">I’ve then tried running the MagicMirror install script from <a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a></p>
<p dir="auto">but this gets to the section <strong>installing correct version of node and npm, please wait</strong> and fails with error messages at the terminal</p>
<pre><code>ERROR: npm v10.1.0 is known not to run on Node.js v12.22.12.  This version of npm supports the following node versions: `^18.17.0 || &gt;=20.5.0`. You can find the latest version at https://nodejs.org/.

ERROR:
/usr/local/lib/node_modules/npm/lib/utils/exit-handler.js:19
  const hasLoadedNpm = npm?.config.loaded
</code></pre>
<p dir="auto">followed a bit later by</p>
<pre><code>node failed to install, exiting
</code></pre>
<p dir="auto">The RPi desktop installation instructions included allowing updates as part of the install process, so just in case that was causing issues I’ve tried:</p>
<ul>
<li>MM install via script on a fresh RPi Desktop install (allowed updates during install)</li>
<li>MM install via script on a fresh RPi Desktop install (<strong>skipped</strong> updates during install this time)</li>
</ul>
<p dir="auto">but I’m seeing the same npm error during the MagicMirror installation on both.</p>
<p dir="auto">Thanks for reading this far and any suggestions! - let me know if there’s anything else I should try : )</p>
]]></description><link>https://forum.magicmirror.builders/topic/18165/trouble-installing-mm-on-raspberry-pi-desktop-for-pc</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 18:36:21 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18165.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Nov 2023 23:14:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trouble installing MM on Raspberry Pi Desktop for PC on Thu, 16 Nov 2023 04:56:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/raymondjspigot" aria-label="Profile: raymondjspigot">@<bdi>raymondjspigot</bdi></a> yeh, that’s the problem , that image is running 64 bit kernel (uname -a) and 32 bit runtime.</p>
<p dir="auto">but it keeps installing the 64 bit version of node, which won’t run  in the 32 bit user space.</p>
]]></description><link>https://forum.magicmirror.builders/post/112556</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112556</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 16 Nov 2023 04:56:16 GMT</pubDate></item><item><title><![CDATA[Reply to Trouble installing MM on Raspberry Pi Desktop for PC on Thu, 16 Nov 2023 04:23:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a> thanks for the suggestion - I’m not sure it even got as far as having a version of node that was too old.</p>
<pre><code>node -v
</code></pre>
<p dir="auto">just gives me a No such file or directory error</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> thanks for taking a look!  I’ll try ubuntu + install script and see how I get on.</p>
]]></description><link>https://forum.magicmirror.builders/post/112555</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112555</guid><dc:creator><![CDATA[raymondjspigot]]></dc:creator><pubDate>Thu, 16 Nov 2023 04:23:26 GMT</pubDate></item><item><title><![CDATA[Reply to Trouble installing MM on Raspberry Pi Desktop for PC on Tue, 14 Nov 2023 23:33:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/raymondjspigot" aria-label="Profile: raymondjspigot">@<bdi>raymondjspigot</bdi></a> the desktop version is old and a mess. I strongly suggest using Ubuntu. mm runs there fine.</p>
<p dir="auto">and use my install script</p>
]]></description><link>https://forum.magicmirror.builders/post/112523</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112523</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 14 Nov 2023 23:33:39 GMT</pubDate></item><item><title><![CDATA[Reply to Trouble installing MM on Raspberry Pi Desktop for PC on Tue, 14 Nov 2023 23:29:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/raymondjspigot" aria-label="Profile: raymondjspigot">@<bdi>raymondjspigot</bdi></a><br />
Your node version seems somewhat low.<br />
Check this;</p>
<pre><code>node -v
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/112522</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112522</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Tue, 14 Nov 2023 23:29:01 GMT</pubDate></item></channel></rss>