Building Angular application produces many warning "Project extension with invalid name found"
See original GitHub issueCurrent Behavior
Building Angular application produces many warning:
Project extension with invalid name found.
The warning is thrown from: https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/core/src/workspace/json/reader.ts#L205
name
is not logged when running Angular builder from nx
cli. However, when debugging names that produce warnings are $schema
, configFilePath
, tags
.
Expected Behavior
There should be no such warnings.
Steps to Reproduce
Build Angular application with latest version on nrwl/nx and Angular (v14.0.6).
Environment
> NX Report complete - copy this into the issue template
Node : 16.16.0
OS : darwin x64
npm : 8.14.0
nx : 14.4.2
@nrwl/angular : 14.4.2
@nrwl/cypress : 14.4.2
@nrwl/detox : Not Found
@nrwl/devkit : 14.4.2
@nrwl/eslint-plugin-nx : 14.4.2
@nrwl/express : Not Found
@nrwl/jest : 14.4.2
@nrwl/js : 14.4.2
@nrwl/linter : 14.4.2
@nrwl/nest : 14.4.2
@nrwl/next : Not Found
@nrwl/node : 14.4.2
@nrwl/nx-cloud : 14.2.0
@nrwl/nx-plugin : Not Found
@nrwl/react : Not Found
@nrwl/react-native : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : 14.4.2
@nrwl/web : 14.4.2
@nrwl/workspace : 14.4.2
typescript : 4.7.4
---------------------------------------
Community plugins:
@ngrx/effects: 14.0.2
@ngrx/entity: 14.0.2
@ngrx/router-store: 14.0.2
@ngrx/schematics: 14.0.2
@ngrx/store: 14.0.2
@ngrx/store-devtools: 14.0.2
Issue Analytics
- State:
- Created a year ago
- Reactions:51
- Comments:62 (12 by maintainers)
Top Results From Across the Web
Project extension with invalid name found in Angular with NX
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...
Read more >ng build - Angular
Option Description Value Type Default Value
‑‑aot Build using Ahead of Time compilation. boolean true
‑‑base‑href Base url for the application being built. string
‑‑delete‑output‑path Delete...
Read more >Angular workspace configuration
The angular.json file at the root level of an Angular workspace provides workspace-wide and project-specific configuration defaults.
Read more >Creating libraries - Angular
This page provides a conceptual overview of how to create and publish new libraries to extend Angular functionality. If you find that you...
Read more >Upgrading from AngularJS to Angular
AngularJS is the name for all 1.x versions of Angular. ... Applications built with component directives are much easier to migrate to Angular...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank for reporting this!
We are aware of this issue, and we’re looking into it. It’s something that started to appear in Angular CLI v14.0.6, which was released yesterday. Please note that it doesn’t really cause any issues apart from the noisy logs.
This will be included in the next patch release, keep an eye out for it and migrate after its been released.