UNSOLVED Cant run npm start or npm install on my macbook air please help
email@example.com start /Users/vishalgangwar/Desktop/MagicMirror
run-start.sh: line 4: electron: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! firstname.lastname@example.org start:
npm ERR! spawn ENOENT
npm ERR! Failed at the email@example.com 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! /Users/vishalgangwar/.npm/_logs/2018-05-09T21_23_11_322Z-debug.log
@thelonegeek It sure looks like electron isn’t installed on your macbook. Have you tried installing electron and then re-running the
npm installinside the Magic Mirror folder?
Thanks for the reply @bhepler
Actually i am trying to build a magic mirror as my last sem project i could easily setup the michmich mirror by running automatic curl command and everything was working and it was displaying all the normal module which comes by default and everything was wokring normally and i was easily able to run the mirror on the Rpi b+ model but then i dont know programming i am complete noob in python js and this magic mirror world so to fool my teacher i thought to put this guys projet and show to my teachers.
Also i am trying the follow this guy AI_SMART_MIRROR
But i dont know why this is happening again and again that even when i run npm sudo npm install && npm start or sudo npm instal it is always showing me errors one or other and in the video the guy is peacufully installing everything and the running the mirror on the mabcook air itself this is my problme bro please help i have to make the mirror in 7 days my project submission is on 18th and i have no clue what to do i know i have never used npm also i dont know how to setup the mirror and test on the macb i have Rpi b_ macbook air net i tried every freaking things and nothing works
I tried installing electronnpm from thi site
It is still throws these errors
Please help me to setup this mirror on my macbook air i am not able to start only the npm start shows so many error what to do please help
I am trying this tutorial >>>> [https://www.youtube.com/watch?v=ejnE6DM-hqU](link url)
piedaniel last edited by
Need to install X-Code on your mac. If not, you will not able to run the app.