I’ve Done all of the below steps bit it till wont auto launch when i reboot the PI
We want Magic Mirror to start up automatically, so type in the following command:
pm2 startup
Now create a shell script for startup. Open up the built-in text editor on the Pi by typing in:
cd ~
nano mm.sh
The lower line basically means, “open up a file called mm.sh in the nano text editor.”
When the text editor has opened, add this to the mm.sh file:
cd ~/MagicMirror
DISPLAY=:0 npm start
Exit the editor by pressing ctrl+x and type in y to save the file.
Make your shiny new script executable by typing in:
chmod +x mm.sh
Now start up Magic Mirror and make it start up on boot:
pm2 start mm.sh
pm2 save
Now, reboot your Pi by typing in
sudo reboot