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:
suEnter the root password when prompted and then run the following:
apt-get update apt-get upgrade apt-get install openssh-serverOnce 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:
suEnter 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 exitThis 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 fixClose 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 startYMMV but hope this helps others out there trying to get this to work too.