trying to follow along from a .pdf titled “Installing the Magic Mirror on
the Raspberry Pi Zero W” from Andrew Chu
I get up to page 17 or so from the slides.
i had to fix what looks to me a couple typos and I used the following command: (added the two slashes after https: and added the i that was missing in installers)
bash –c “$(curl –sL
https://raw.githubusercontent.com/ac2799/MagicMirror/master/installers/raspberry.sh)”
the command is chugging along fine…
then I get an error
[PM2] [ERROR] Error: Script not found: /home/pi/MagicMirror/~/MagicMirror/installers/startMagicMirrorPi0.sh
How do I fix and pick-up where it left off to register MagicMirror with PM2?
I tried in another SSH window to run that .sh (which I did find in what looks to be that path)
pi@raspberrypi:~/MagicMirror/installers $ ./startMagicMirrorPi0.sh Starting MagicMirror: v2.6.0 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. Initializing new module helper ... Module helper loaded: calendar No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... Module helper loaded: newsfeed All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: updatenotification Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ...Ready to go! Please point your browser to: http://localhost:8080
unclutter: could not open display
(chromium-browser:1424): Gtk-WARNING **: 12:53:45.426: cannot open display:
pi@raspberrypi:~/MagicMirror/installers $ pm2 show MagicMirror
[PM2][WARN] MagicMirror doesn’t exist
So, I’m not sure if the ’ could not open display’ is a second error on top of the problem that PM2 cant register the application
thanks