Read the statement by Michael Teeuw here.
Autostart woes
-
I see this error/warning during
sudo npm pm2 install -g
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/pm2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”}) -
i gave up on pm2, edited /etc/rc.local
-
Did you try installing it without sudo? Just a guess
-
@mykle1 yes, cut and paste from the mm doc
-
I’d recommend trying to do it again using the description by MichMich
https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirrorIt is crystal clear from what I see, also describes what to do.
"the doc for ‘pm2 startup’ doesn’t help me…
‘will give you the command u need to execute’execute when, how? if unattended, who is ‘you’?"
No offense, but btoh the doc and your terminal will show you exactly what to do. Copy a line of text the terminal throws out and execute it again.
That’s the reason I’d suggest to do it again with a bit more patience. :-)