Total novice experiencing install problems with "mm.sh"?
Hi guys, I’ve just received my Pi 3 Model B and eager as hell to get stuck in on this project. I loved the site because whilst it’s very detailed it seems very simple to follow along with in order to install the Magic Mirror.
I think my problem lies in the mm.sh area?
In the file itself with text:
DISPLAY=:0 npm start
The “cd” is blue in colour and the “=” is green, whilst all other characters are in white. Am i correct in assuming this is a problem?
Also upon running of MagicMirror via command:
pm2 start mm.sh the mirror will boot but has message “Please create config file.”
“See README for more information”
Thanks in advance…
Newbie out of his depth!
You have to make a copy of the file “config.js.sample” that is in MagicMirror/config folder and rename it to "config.js"
Otherwise you have no working config file.
I’m also a newbie and also had the same problem a few days ago. You are able to start MM using “npm start”? If so, then just drop the “DISPLAY=0”, so it would be :
save it, then use the command " pm2 start mm.sh ", wait a few seconds then the status on the pm2 thingy would say , “online”.
it would then boot up to the mirror.
Not really sure why everyone wants to use pm2. It was a major headache for me. Noobs should not use that until they get everything else working perfectly.
@nuckinfutz Not really a choice when trying to follow the install instructions word for word! haha
i got the same problem
nvm fixed !