angular-klingon / klingon

Angular Klingon: The UI companion for the @angular/cli
https://angular.run
MIT License
189 stars 19 forks source link

Bug: Local workspace file ('angular.json') could not be found #72

Closed sumitparakh closed 5 years ago

sumitparakh commented 5 years ago

Describe the bug Getting Location workspace file ('angular.json') could not be found while trying to serve application

Screenshots angularjsonnotfound

Additional context Problem is, everytime it is trying to serve application from home directory where app doesn't exist. Hence command fails.

Proposed Solution There should be an option to specify root dir in serve tab and make application field mandatory. Once user enter root dir and application name, we can pass it as current working directory to the cli command. Note msg.dir here:- https://github.com/angular-klingon/klingon/blob/master/packages/klingon-server/terminal.js#L60

Related to #6