Read the statement by Michael Teeuw here.
Error when updating and reinstalling 2.19.0
-
Hi,
Use this script:bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
and get this error message
Cloning MagicMirror Done! Installing dependencies ... npm ERR! code ETARGET npm ERR! notarget No matching version found for mime-db@1.52.0. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2022-04-17T08_19_53_669Z-debug-0.log Unable to install dependencies!
what can i do?
Thanks for your help -
@det can u send me the ~/install.log
my same userid at Gmail.
-
I have sent the logs.
Thanks -
@det I replied
-
I have completely rebuilt the MM2 and set up all modules again.
Now the 2.19.0 is running.
Thanks -
@det can u say what you did differently?
-
I have reinstalled bullseye on another ssd card and set it up.
Updated with:
sudo apt-get update
sudo apt-get upgrade
Now:
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt install -y nodejsThen run the install script:
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”loaded all modules from git and executed npm install if necessary.
(only with MMM-Navigate there were problems, I copied this from the old ssd-card)
Now I copied the config.js and css, that’s it.With kind regards and Thanks
-
@det just for your info.
my install script does all the things u did manually…
apt update/upgrade and install node/npm.