Getting started angular2 + electron


#1

hi,
I’ve downloaded angular2 getting started project.
Then I did:

  1. npm install
  2. npm run typings install
  3. I checked app with npm start
  4. npm install --save-dev electron-prebuilt
  5. create main.js copied from here
  6. canged package.json "start": "electron main.js "
  7. npm start
  8. Here I was happy because everythings worked!
  9. electron-packager . lightRoom --out=releases/ --platform=win32 --arch=ia32 --asar --app-version=0.0.1 --purge
  10. run it with double click but I get error :cry:


    What did I wrong?

#2

Finded! main: main.js missing!


#3

I’ve got the exact same problem. Could you please tell what exactly you changed or where you had to add the main.js ?
Thx in advance