<?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 at the installation: cannot find module &#x27;rimraf&#x27;]]></title><description><![CDATA[<p dir="auto">Hello there!</p>
<p dir="auto">I have an issue when I paste the command to install MM. It is an ‘updated link to install MM’ I found on this forum because the original one is giving me a lot of trouble. So I try new things :cowboy_hat_face:</p>
<pre><code>pi@raspberrypi:~ $ curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirr  or_scripts/master/raspberry.sh | bash

$$\      $$\                     $$\           $$\      $$\ $$\                                            $$$$$$\
$$$\    $$$ |                    \__|          $$$\    $$$ |\__|                                          $$  __$$\
$$$$\  $$$$ | $$$$$$\   $$$$$$\  $$\  $$$$$$$\ $$$$\  $$$$ |$$\  $$$$$$\   $$$$$  $\   $$$$$$\   $$$$$$\  \__/  $$ |
$$\$$\$$ $$ | \____$$\ $$  __$$\ $$ |$$  _____|$$\$$\$$ $$ |$$ |$$  __$$\ $$  __  $$\ $$  __$$\ $$  __$$\  $$$$$$  |
$$ \$$$  $$ | $$$$$$$ |$$ /  $$ |$$ |$$ /      $$ \$$$  $$ |$$ |$$ |  \__|$$ |    \__|$$ /  $$ |$$ |  \__|$$  ____/
$$ |\$  /$$ |$$  __$$ |$$ |  $$ |$$ |$$ |      $$ |\$  /$$ |$$ |$$ |      $$ |        $$ |  $$ |$$ |      $$ |
$$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ |      $$ |        \$$$$$$  |$$ |      $$$$$$$$\
\__|     \__| \_______| \____$$ |\__| \_______|\__|     \__|\__|\__|      \__|         \______/ \__|      \________|
                       $$\   $$ |
                       \$$$$$$  |
                        \______/

install log being saved to /home/pi/install.log
Updating packages ...
Installing helper tools ...
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
build-essential est déjà la version la plus récente (12.6).
curl est déjà la version la plus récente (7.64.0-4).
unzip est déjà la version la plus récente (6.0-23+deb10u1).
wget est déjà la version la plus récente (1.20.1-1.1).
wget passé en « installé manuellement ».
Paquets suggérés :
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitwe
Les paquets suivants seront mis à jour :
  git
1 mis à jour, 0 nouvellement installés, 0 à enlever et 166 non mis à jour.
Il est nécessaire de prendre 4 203 ko dans les archives.
Après cette opération, 33,8 ko d'espace disque supplémentaires seront utilisés.
Réception de :1 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf gi
4 203 ko réceptionnés en 2s (2 281 ko/s)
apt-listchanges : Lecture des fichiers de modifications (« changelog »)...
(Lecture de la base de données... 93835 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../git_1%3a2.20.1-2+deb10u1_armhf.deb ...
Dépaquetage de git (1:2.20.1-2+deb10u1) sur (1:2.20.1-2) ...
Paramétrage de git (1:2.20.1-2+deb10u1) ...
Check current Node installation ...
Node.js is not installed.
Installing Node.js ...
Warning: apt-key output should not be parsed (stdout is not a terminal)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les NOUVEAUX paquets suivants seront installés :
  nodejs
0 mis à jour, 1 nouvellement installés, 0 à enlever et 166 non mis à jour.
Il est nécessaire de prendre 14,6 Mo dans les archives.
Après cette opération, 77,3 Mo d'espace disque supplémentaires seront utilisés.
Réception de :1 https://deb.nodesource.com/node_10.x buster/main armhf nodejs armhf 10.18.1-1nodesource1 [14,6 MB]
14,6 Mo réceptionnés en 11s (1 365 ko/s)
Sélection du paquet nodejs précédemment désélectionné.
(Lecture de la base de données... 93842 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../nodejs_10.18.1-1nodesource1_armhf.deb ...
Dépaquetage de nodejs (10.18.1-1nodesource1) ...
Paramétrage de nodejs (10.18.1-1nodesource1) ...
Traitement des actions différées (« triggers ») pour man-db (2.8.5-2) ...
node version is
Node.js installation Done! version=v10.18.1
Check current NPM installation ...
NPM currently installed. Checking version number.
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'rimraf'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object. (/usr/lib/node_modules/npm/node_modules/fs-vacuum/vacuum.js:6:14)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Minimum npm version: V6.0.0
Installed npm version: V
npm should be upgraded.
Installing npm ...
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'rimraf'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object. (/usr/lib/node_modules/npm/node_modules/fs-vacuum/vacuum.js:6:14)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'rimraf'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object. (/usr/lib/node_modules/npm/node_modules/fs-vacuum/vacuum.js:6:14)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm installation Done! version=V
Cloning MagicMirror ...
Clonage dans 'MagicMirror'...
remote: Enumerating objects: 331, done.
remote: Counting objects: 100% (331/331), done.
remote: Compressing objects: 100% (295/295), done.
remote: Total 331 (delta 42), reused 193 (delta 23), pack-reused 0
Réception d'objets: 100% (331/331), 676.44 KiB | 1.57 MiB/s, fait.
Résolution des deltas: 100% (42/42), fait.
Cloning MagicMirror Done!
Installing dependencies ...
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'rimraf'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object. (/usr/lib/node_modules/npm/node_modules/fs-vacuum/vacuum.js:6:14)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Unable to install dependencies!
</code></pre>
<p dir="auto">When I manualy try to install rimraf with ‘npm install rimraf’ I have the same error.</p>
<p dir="auto">Do you have any idea? And sorry for my english it isn’t my mother tongue.</p>
<p dir="auto">Thanks! :grinning_face:</p>
]]></description><link>https://forum.magicmirror.builders/topic/12088/error-at-the-installation-cannot-find-module-rimraf</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 07:21:51 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/12088.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 26 Jan 2020 20:39:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error at the installation: cannot find module &#x27;rimraf&#x27; on Wed, 29 Jan 2020 21:57:09 GMT]]></title><description><![CDATA[<p dir="auto">WOW I just solved it at the moment! How?</p>
<p dir="auto">I changed the sd card. (after more than 20h of tests, the issue was finally easy and dumb)</p>
<p dir="auto">IM SO HAPPY RN :smiling_face_with_open_mouth_smiling_eyes:</p>
]]></description><link>https://forum.magicmirror.builders/post/68785</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/68785</guid><dc:creator><![CDATA[Neebotol]]></dc:creator><pubDate>Wed, 29 Jan 2020 21:57:09 GMT</pubDate></item><item><title><![CDATA[Reply to Error at the installation: cannot find module &#x27;rimraf&#x27; on Sun, 26 Jan 2020 22:32:51 GMT]]></title><description><![CDATA[<p dir="auto">Hum, just tried (to see what happen) an apt-get upgrade and then rpi-updtate : can’t restart raspian, I have to flash AGAIN the SD card… Next try tomorrow…</p>
]]></description><link>https://forum.magicmirror.builders/post/68678</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/68678</guid><dc:creator><![CDATA[Neebotol]]></dc:creator><pubDate>Sun, 26 Jan 2020 22:32:51 GMT</pubDate></item><item><title><![CDATA[Reply to Error at the installation: cannot find module &#x27;rimraf&#x27; on Sun, 26 Jan 2020 20:49:17 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for your answer, I’m trying rn</p>
<p dir="auto">Edit :</p>
<pre><code>Installing dependencies ...
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'rimraf'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.&lt;anonymous&gt; (/usr/lib/node_modules/npm/node_modules/fs-vacuum/vacuum.js:6:14)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Unable to install dependencies!

</code></pre>
<p dir="auto">Same issue :confused_face:<br />
(should I delete my other post on the other topic?)</p>
]]></description><link>https://forum.magicmirror.builders/post/68668</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/68668</guid><dc:creator><![CDATA[Neebotol]]></dc:creator><pubDate>Sun, 26 Jan 2020 20:49:17 GMT</pubDate></item><item><title><![CDATA[Reply to Error at the installation: cannot find module &#x27;rimraf&#x27; on Sun, 26 Jan 2020 20:44:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/neebotol" aria-label="Profile: Neebotol">@<bdi>Neebotol</bdi></a> i posted a reply in the other topic<br />
but for completeness here</p>
<p dir="auto">do</p>
<pre><code>rm -rf MagicMirror
npm clean cache
</code></pre>
<p dir="auto">the start the installer again</p>
]]></description><link>https://forum.magicmirror.builders/post/68667</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/68667</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 26 Jan 2020 20:44:23 GMT</pubDate></item></channel></rss>