joaogarin / angular-electron

Angular2 and Electron starter using webpack
150 stars 53 forks source link

config.json is missing #29

Closed MartinMajewski closed 7 years ago

MartinMajewski commented 7 years ago

Error on run build:

ERROR in ./src/app/services/authentication.ts
Module not found: Error: Can't resolve './../config.json' in '/Users/martinmajewski/Documents/Development/ElectronApps/Angular2El
ectron/src/app/services'
 @ ./src/app/services/authentication.ts 32:14-41
 @ ./src/app/app.ts
Vishal-Isharani commented 7 years ago

yaa config.json in missing ....

joaogarin commented 7 years ago

Hello,

as mentioned in the readme file https://github.com/joaogarin/angular2-electron/blob/master/README.md you should create a config.json file. which includes sensitive information that I cant really put here..

It mentions there how the file should be formatted and what should be included there;)

Best regards

Xiltch commented 7 years ago

I admit that i should have gone through the README.md first but like many other developers I suffer from impatience issues.

I understand that being JSON you are unable to comment but you are able to scaffold the class with dummy data.

That said, the project is awesome and well structured. Thank you.