Closed jonathan7 closed 6 years ago
I've been encountering a build failure at the build step ':buildAngular'
I've attached the stacktrace.
From my debugging so far, the file ng.cmd
does not get created (if it is supposed to or if it is downloaded).
I'll keep looking to see if I can resolve this.
Also, are you able to create branches on this project? I think you should be able to create new branches and then upload your changes so that we won't be having to get PRs from multiple forked repos (which could run into some version issues).
I discovered the issue.
You had the Angular CLI installed on your local machine, so I had to ensure I had installed it globally on my personal machine.
npm install -g @angular/cli
resolved the issue and was able to make the build pass.
I'm curious if there's a way that we can avoid having to globally install the CLI, but we'll have to see.
hopefully, Resolves #9
This adds an Angular project (under Project\src\main\webapp)
I moved HelloController's endpoint to localhost:8080/SpringHello, so now the angular project is being served from the main index.
Angular methods can access Spring endpoints for APIs, and it should all build whenever gradle bootRun is called.