Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 19/18 build is not taking any new file to the build and just generating artifact from the existing files #29240

Closed
kajal-neema opened this issue Dec 31, 2024 · 2 comments
Labels
needs: more info Reporter must clarify the issue

Comments

@kajal-neema
Copy link

Which @angular/* package(s) are the source of the bug?

compiler

Is this a regression?

No

Description

I am trying to create a new project through angular version 19/18 , and after npm install , i run he ng serve... so if icreate any new component this change is not detected by angular but if i change the existing file like app.component.ts its detecting the code changes
Facing thiss issue since yesterday only earlier it was working

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No error but any new  file is not detected and not getting build as well

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 19.0.2
Node: 22.12.0
Package Manager: npm 11.0.0
OS: win32 x64

Angular: 19.0.1
... animations, common, compiler, compiler-cli, core, forms
... google-maps, localize, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1900.2
@angular-devkit/build-angular   19.0.2
@angular-devkit/core            19.0.2
@angular-devkit/schematics      19.0.2
@angular/cli                    19.0.2
@schematics/angular             19.0.2
rxjs                            7.8.1
typescript                      5.5.4
zone.js                         0.14.8

Anything else?

No response

@JeanMeche JeanMeche transferred this issue from angular/angular Jan 1, 2025
@clydin
Copy link
Member

clydin commented Jan 2, 2025

Are the newly create files referenced within the application? Only files that are actually part of the application will trigger a rebuild.

@clydin clydin added the needs: more info Reporter must clarify the issue label Jan 2, 2025
@alan-agius4
Copy link
Collaborator

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.

If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.

@alan-agius4 alan-agius4 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: more info Reporter must clarify the issue
Projects
None yet
Development

No branches or pull requests

3 participants