Read the statement by Michael Teeuw here.
npm dependencies not installed on fresh MM2 installation
-
I’m starting to get angry!!!
pi@raspberrypi:~/MagicMirror $ git pull Already up-to-date. pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.6.0 start /home/pi/MagicMirror > sh run-start.sh run-start.sh: 4: run-start.sh: electron: not found npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! magicmirror@2.6.0 start: `sh run-start.sh` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.6.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-01-17T22_37_37_361Z-debug.log pi@raspberrypi:~/MagicMirror $
Now it can’t find Electron. :face_with_steam_from_nose: :face_with_steam_from_nose: :angry_face:
-
UPDATE:
Found thatnpm i electron
in the folder “MagicMirror” does the trick.
But now it “ENOENT” that’s causing problems! -
@mwel1977 said in npm dependencies not installed on fresh MM2 installation:
But now it “ENOENT” that’s causing problems!
ENOENT is file not found…
can u post the full error…
-
UPDATE:
SUCCES!!! YES!!!:smiling_face_with_open_mouth_smiling_eyes: :smiling_face_with_open_mouth_smiling_eyes: :smiling_face_with_open_mouth_smiling_eyes: :smiling_face_with_open_mouth_smiling_eyes: :smiling_face_with_open_mouth_smiling_eyes:
I just had to install npm in the MagicMirror folder!
My test bed for the MagicMirror is running again! :face_with_stuck-out_tongue_winking_eye: :face_with_stuck-out_tongue_winking_eye: :face_with_stuck-out_tongue_winking_eye: -
great news… thanks for the feedback