koush / electron-chrome

Other
970 stars 68 forks source link

-bash: electron: command not found #18

Closed dsemaya closed 7 years ago

dsemaya commented 7 years ago

I followed these instructions:

Install:

git clone https://github.com/koush/electron-chrome.git cd electron-chrome npm install

Run:

electron --enable-logging . --app-dir=/path/to/chrome-app/

And I get:

-bash: electron: command not found

Do I need to install Electron first?

slackr commented 7 years ago

You'll need to install electron, either binary in global path or via npm

if npm:

electron-chrome$ npm install electron electron-chrome/$ ./node_modules/.bin/electron . --enable-logging --app-dir=/path/to/app