JonnyBGod / angular2-webpack-advance-starter

An advanced Angular2 Webpack Starter project with support for ngrx/store, ngrx/effects, ng2-translate, angulartics2, lodash, NativeScript (*native* mobile), Electron (Mac, Windows and Linux desktop) and more.
https://jonnybgod.github.io/angular2-webpack-advance-starter/
MIT License
48 stars 12 forks source link

npm run start:desktop:windows fails #11

Open radio-miskovice opened 7 years ago

radio-miskovice commented 7 years ago

Fails.

       Asset     Size  Chunks             Chunk Names
main.desktop.js  20.5 kB       0  [emitted]  main.desktop
main.desktop.map  21.9 kB       0  [emitted]  main.desktop
 [1] ./\~/electron-debug/index.js 2.19 kB {0} [built] [] -> factory:16ms building:25ms dependencies:1ms = 42ms
 [2] ./\~/devtron/api.js 1.26 kB {0} [optional] [built] [] -> factory:16ms building:47ms dependencies:0ms = 63ms
 [3] ./\~/electron-is-dev/index.js 154 bytes {0} [built] [] -> factory:15ms building:7ms = 22ms
 [4] ./\~/electron-localshortcut/index.js 3.33 kB {0} [built]  [] -> factory:17ms building:30ms dependencies:0ms = 47ms
 [5] ./electron/main.desktop.ts 10.5 kB {0} [built] factory:55ms building:5384ms = 5439ms   + 1 hidden modules

 ERROR in ./electron/main.desktop.ts
 Module not found: Error: Can't resolve 'frameworks/electron/index' in 'C:\DEV\_ELECTRON_\angular2-webpack-advance-starter\electron' @ ./electron/main.desktop.ts 15:14-50

npm run start:desktop:windows

Before I could start, I had to install electron and devtron, npm install did not install the automatically.

Start the default desktop app.