8

I am using Angular with nx and when I try to nx serve todos I get this error:

Project extension with invalid name found

And my project name is: todos.

I followed this https://nx.dev/angular-tutorial/01-create-application to create todos app with Angular 14.0.5 and I get the above error.

Does someone have any idea regarding this error?

Kim Kern
  • 54,283
  • 17
  • 197
  • 195
Alireza Ahmadi
  • 8,579
  • 5
  • 15
  • 42
  • If you are using vscode, you can try out the nx dashboard extension. There is a commands section where you can choose to serve whichever app you want in the workspace. – Sadra M. Jul 16 '22 at 12:07
  • What is the effective name of your angular app ? Todos or myapp ? – Thierry Falvo Jul 16 '22 at 18:57

2 Answers2

9

There is a git issue (see this) regarding to this problem. It's something that started to appear in Angular CLI v14.0.6.

Based on the git issue they are currently working on that to solve the problem but the most important thing is that: it doesn't really cause any issues apart from the noisy logs.

Alireza Ahmadi
  • 8,579
  • 5
  • 15
  • 42
1

I was facing the same issue with angular nx and I looked for solution and found a git issue describing the same problem and there it was written that "When starting the Angular app with nx run portal:serve:development the project compiles successfully, though there is some noisy logging. This is a known issue with Nx with the newest version of Angular. It is said to be harmless.

nrwl/nx#11138

As the known issue is harmless I think there is no need to worry about this issue.

I am attaching the git page link below: https://github.com/ZenSoftware/zen/issues/21

Alireza Ahmadi
  • 8,579
  • 5
  • 15
  • 42