Can't run electron app OSX


#1

So I made a sample app on Window and it run perfectly well. I tried to run the app on mac using the command on the quick start guide. It saids the command’s not found. Then I tried to go to the link provided in the guide to download the electron.app but it’s the chromedriver and I don’t know what to do with it. Can you please show me how to run my electron app on mac. Thank you


#2

Did you install electron-prebuilt globally? You can do that by npm install -g electron-prebuilt. Ofcourse would need to install node and npm first. Then open the terminal, cd into your folder and run electron .