4

I am trying to run an angular project and getting this error.

​An unhandled exception occurred: Invalid target: {"project":"firstAngularApp","target":"build","configuration":"development"}

4
  • There isnt enough information available here to reliably pinpoint the error you are seeing but perhaps this can help? Commented Sep 16, 2021 at 4:36
  • Did this ever get resolved? One of Angular apps is doing exactly the same thing, and I've not changed my code. Commented Sep 28, 2022 at 21:38
  • @MichaelCockinos sorry, I don't remember but maybe check the node version? Commented Sep 30, 2022 at 1:22
  • Thanks. I upgraded to 14. Fixed it by creating another Angular app using 13.2.2 and moved my files across. Downgrading was going to prove unreliable and time consuming Commented Oct 1, 2022 at 4:13

1 Answer 1

0

I also encountered the same problem, but I finally solved it. In my case, the reason was that I mistakenly modified the <projects -> MyProjectName> in the angular.json file when I upgrading the Angular version. After I restored the previous project name, my project worked normally.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.