Read the statement by Michael Teeuw here.
NPM ERR!
-
If you’re running this while logged in to the rPi (through the console), then you don’t need the
'DISPLAY=:0'
part. However, something to note: if you are logged into the rPi from the console (so you have a keyboard connected that you are logging in to it), the moment you run'npm start'
and it successfully starts MM, you lose the ability to use anything else. There are keyboard shortcuts that you can hit to get back to the console but someone else will have to tell you those as I don’t know them off the top of my head.Ideally you would be connected to the rPi through a different machine on the same network. So you would SSH into the rPi, log in as the
'pi'
user, and then you DO need to set the display:'DISPLAY=:0'
portion - note that it’s case specific!So, to recap, yes to what you listed above, with the small caveat on #3.
-
@KirAsh4 OMG THE DISPLAY WORKS! I’m super grateful for your help. It says that that I need to create a config file. The github instruction is not entirely clear on what I will need to do next. Do I duplicate the config file?
-
From here, you need to follow the configuration section: https://github.com/MichMich/MagicMirror#configuration
You can start by simply renaming the file from
'config.js.sample'
to'config.js'
and restart the MagicMirror process. After that, you can start playing with the config file, disabling or (re)enabling modules, adding new ones … this is what you get to play with it. -
@KirAsh4 as a note on this reply, Alt + F2 (I think) will bring up the run dialog box from which you can launch lxterminal.
-
@EoF, awesome. Thanks for that. Someone should start collecting all the various keyboard shortcuts and compile them in one post, possibly even on the wiki page. I’ve seen CTRL-W posted, this ALT-F2. One can also completely switch to a virtual console and back to the GUI by hitting CTRL-ALT-F[1-7] …