Read the statement by Michael Teeuw here.
npm dependencies not installed on fresh MM2 installation
-
@sandy2503 I’ve used: Raspbian Stretch with desktop and recommended software.
and I’m just up and running again. Meaning I’ve Rasbian setup on my Pi 3A+ and typing this in the Chromium browser.
First I’ll try to install the MagicMirror. Yesterday I installed it at work via an open network (guest login)
and at random times one is thrown out of it. So that could also be an issue.
Now I’m at home in my own network.
So fingers crossed! -
NOPE! It’s not due to poor geust network at work. I still can’t install the Dependencies.
I do have Node becausenode -v
is resulting inv8.11.1
.
but it can’t find npm. so I’ll install npm meself. -
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