Read the statement by Michael Teeuw here.
Getting MM running on Debian 10 not on a RPi
-
Hi Guys,
I had a very specific use case where I wanted to use Debian (LXDE) with an old laptop to run Magic Mirror.
I am by no means a linux expert! But I did some tinkering and couldnt get the install script working. The following steps might help you getting MM running on a Debian 10 machine. I used the debian-live-10.0.0-amd64-lxde.iso to install Debian.
Once installed, log in to the system with the user you created during setup.
Open a terminal window, and run the following:
su
Enter the root password when prompted and then run the following:
apt-get update apt-get upgrade apt-get install openssh-server
Once complete I found it easier to go back to my main machine and use putty.
Open a Putty connection to your machine, login with the user you created during setup
Once at the terminal, type the following:
su
Enter the root password when prompted and then run the following:
apt-get --assume-yes install curl wget git build-essential unzip gcc g++ make curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - apt-get update apt-get install -y nodejs apt-get install -y npm curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list apt-get update apt-get install yarn exit
This should return you to the mm user you have setup, at the command line type the following:
git clone --depth=1 https://github.com/MichMich/MagicMirror.git cd MagicMirror/ cp config/config.js.sample config/config.js npm install npm audit fix
Close out the session and then go back to the machine and run a terminal prompt and type the following to start mm!
cd MagicMirror npm start
YMMV but hope this helps others out there trying to get this to work too.