When I try to use
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
The install takes maybe 2 seconds but it says install is complete, however I did not include the first $. If I do include this, it says that it doesn’t understand it. The MagicMirror folder is no where on my raspberrypi. As a result I tried to use
$ sudo apt install python3 python3-pip -y && \
git clone https://github.com/Bee-Mar/mmpm.git && \
cd mmpm && \
make && \
echo "export PATH=$PATH:$HOME/.local/bin" >> $HOME/.bashrc && \
source ~/.bashrc
And afterwards do
mmpm -M
By using this method of installing it actually takes some time for MagicMirror to install, which seems a bit more reasonable. However, at the end of the installation it tells me that it is unable to install dependencies. It also says this is not a problem with npm, but rather that nodejs is out of date. It seems to actually be out of date because by doing
nodejs -v
It tells me that the version is v10.15.2 . So then I decided ill try to update nodejs by doing
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
The result of this is
## Installing the NodeSource Node.js 13.x repo...
## Populating apt-get cache...
+ apt-get update
Get:1 http://archive.raspberrypi.org/debian buster InRelease [25.1 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Reading package lists... Done
E: Release file for http://archive.raspberrypi.org/debian/dists/buster/InRelease is not valid yet (invalid for another 7d 17h 8min 13s). Updates for this repository will not be applied.
E: Release file for http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease is not valid yet (invalid for another 10d 2h 29min 48s). Updates for this repository will not be applied.
Error executing command, exiting
As a result I cannot update nodejs to the proper version. I have tried deleting the MagicMirror folder and redoing all of this with no success and the same results. I don’t know if this is would be a contributing factor but I have been doing this through VNC. I don’t have my own USB keyboard so I borrowed a friends to setup VNC and now I just control everything through my laptop.