question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building Angular application produces many warning "Project extension with invalid name found"

See original GitHub issue

Current 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.

image image

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:closed
  • Created a year ago
  • Reactions:51
  • Comments:62 (12 by maintainers)

github_iconTop GitHub Comments

34reactions
leosvelperezcommented, Jul 14, 2022

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.

23reactions
AgentEndercommented, Aug 4, 2022

This will be included in the next patch release, keep an eye out for it and migrate after its been released.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found