Closed ThomazPom closed 7 years ago
Hello,
Can you take a look at this issue see if it rings a bell on something? https://github.com/joaogarin/angular2-electron/issues/19
Issue typically happened with mismatched versions of typescript and the awesome-typescript-loader. However they should be good now..I just did a test and worked on MAC OS at least.
This is the build error. There is no config.json in the solution.
ERROR in ./src/app/services/authentication.ts Module not found: Error: Can't resolve './../config.json' in '/Users/xxxxxxxxx/Git/angular2-electron/src/app/services' @ ./src/app/services/authentication.ts 32:14-41 @ ./src/app/app.ts
Hello @jwsii7,
Take a look at the README file https://github.com/joaogarin/angular2-electron/blob/master/README.md
You need to add a config.json with the necessary credentials so that it sets authentication with github=P
Best regards
@joaogarin I tried on some clean systems so.. i cant have an outdated version of typescript . I'll will try on a MacOS asap and give you a feedback ! :)
@joaogarin It worked on the mac.
I tried again on windows. It worked. Black magic haha.
Thank you for your support 🥇
[at-loader] Checking started in a separate process...
[at-loader] Ok, 2.364 sec.
2449ms asset optimization
858ms emitting
Hash: 5c1e87297d08371cc569
Version: webpack 2.1.0-beta.25
Time: 56028ms
Asset Size Chunks Chunk Names
app.js 2.79 MB 0 [emitted] app
vendor.js 1.56 MB 1 [emitted] vendor
polyfills.js 341 kB 2 [emitted] polyfills
app.map 2.87 MB 0 [emitted] app
vendor.map 1.66 MB 1 [emitted] vendor
polyfills.map 425 kB 2 [emitted] polyfills
assets/app-icon.icns 231 kB [emitted]
+ 858 hidden modules
WARNING in ./~/@angular/core/src/linker/system_js_ng_module_factory_loader.js
71:15 Critical dependency: the request of a dependency is an expression
WARNING in ./~/@angular/core/src/linker/system_js_ng_module_factory_loader.js
87:15 Critical dependency: the request of a dependency is an expression
Hi . I tried realy hard but i'm new in angular2/electron. I can't build . I get the following error at every try after a fresh clone, and a fresh install.
What i do :
I tried on :
thank you for you help ! (s.f.m.b.e)