Read the statement by Michael Teeuw here.
Directory problems after I Install MagicMirror2
-
Summary MagicMirror appears to mess up my directory commands.
When I install Raspbian on my Raspberry Pi 3B, it seems that the directory functions work fine. For example code like this works fine: cd ~/games The ls command also runs fine. Other programs run well. I can see the directories and sub directories and get to them. The I follow the bash -c “$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)” The program get installed and magicmirror2 runs well upon pressing entry. I can modify the files as shown in the tutorials.
Very Nice
However, when I restart the computer, I don’t seem to have a way to use the command cd ~/MagicMirror && DISPLAY=:0 npm start. The command cd~/magicmirror doesn’t work - It shows no directory by that name. When I go to the root directory and enter " ls" command I see that the magicmirror directory does exist. The string " cd ~/MagicMirror && DISPLAY=:0 npm start" cannot find the magicmirror command.
Your thoughts are much appreciated
Dave -
@Davdij2525 did u run the install script as root user? sudo su?
Please reinstall as a normal user, typically logged on as pi
-
Also. Please use the updated install script from here
https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer