Read the statement by Michael Teeuw here.
Can't get MM to start, says it can't find electron, then electron won't start
-
@sdetweil another error, it says
npm ERR! file /home/pi/MagicMirror/package.json npm ERR! code EJSONPARSE npm ERR! JSON.parse Failed to parse json npm ERR! JSON.parse Unexpected end of JSON input while parsing near ' ' npm ERR! JSON.parse Failed to parse package. json data. npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
-
@jmartin1009 did u download the MagicMirror folder over again?
-
@sdetweil yes I deleted the contents of the old folder and changed the name and redownloaded MagicMirror
-
@jmartin1009 ok, from the /home/pi folder lets start again
cd ~ rm -rf whatever_the_old_folder_name_is rm -rf MagicMirror git clone https://github.com/MichMich/MagicMirror.git cd MagicMirror npm install
-
@sdetweil okay I did all of that and it said it cloned and everthing, and then it rebooted during the install, now what? lol
-
@jmartin1009 should not reboot
-
@sdetweil oh it reboots everytime I install magicmirror, how do I prevent this? because it always reboots like 1/3 of the way through the progress bar and it always did it so I thought it was normal lol can I stop this? I have a pi 3+ btw
-
@jmartin1009 it also does that everytime I try to install electron so maybe that’s why it isn’t working :confused: is there any fix for this?
-
Sorry, I do not know. Mine never reboots.
How big is your memory card?
-
@sdetweil 32 gb