Read the statement by Michael Teeuw here.
ELIFECYCLE error after fresh install
-
@Zwirbel if you go the MagicMirror folder and do a pm2 stop, then npm start what happens?
-
@sdetweil The Version is 6.4.1
-
@MrKnight230 thx… are u doing this over vnc? also the MM has to be running in graphical mode, unless u are running server only… (DISPLAY 0 will not exist if in VNC or text mode)
-
@sdetweil
The RasPi is connected via HDMI to a Display and I’m using VNC to configure it. I had a previous install where everything worked with pm2 and manually using the command “npm start”. -
@MrKnight230 sorry, do not know… there were lots of code changes by modules MM uses and have no control over.
I cannot recreate this over ssh…
my npm is version 6.9.0
you might try
npm install -g npm
-
@sdetweil Thanks for the suggestion, it successfully installed version 6.9.0 but sadly didn’t solve or even change anything about the problem.
-
@MrKnight230 ok, i can only think that the vnc start is not working now…
-
@sdetweil Well I deactivated VNC, restarted and plugged my keyboard in the RasPi and this too didn’t change anything sadly.
-
@MrKnight230 ok, and u did the DISPLAY=:0
-
@sdetweil I actually didn’t but the result stays the same with “DISPLAY=:0”