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 migration build issue #29873

Closed
1 task done
Harish-Reddyshetty opened this issue Mar 18, 2025 · 2 comments
Closed
1 task done

Angular 19 migration build issue #29873

Harish-Reddyshetty opened this issue Mar 18, 2025 · 2 comments
Labels
needs: repro steps We cannot reproduce the issue with the information given

Comments

@Harish-Reddyshetty
Copy link

Command

serve

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

18

Description

I have upgraded my application from Angular 18 to 19. After a successful migration, any code changes I make are not reflected in the browser, and the application does not auto-reload when I modify the code. Even after making changes, the old version is still displayed.

i have tried below few things

  1. --no-hmr
  2. Removed package-lock.json, .angular .vite and reinstalled them.
  3. adde live reload in angular.json

Minimal Reproduction

After the migration i have run the command ng s . when i open the local server the changes are not reflected in the broswer

Exception or Error


Your Environment

Angular CLI: 19.2.3
Node: 20.19.0
Package Manager: npm 10.8.2
OS: linux x64

Angular: 19.2.2
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
... service-worker

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.1902.3
@angular-devkit/build-angular      19.2.3
@angular-devkit/core               19.2.3
@angular-devkit/schematics         19.2.3
@angular/cdk                       19.2.3
@angular/cli                       19.2.3
@angular/google-maps               19.2.3
@angular/material                  19.2.3
@angular/material-moment-adapter   19.2.3
@schematics/angular                19.2.3
rxjs                               7.8.2
typescript                         5.5.4
zone.js                            0.15.0

Anything else relevant?

No response

@alan-agius4
Copy link
Collaborator

This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please?

You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.

This might be related to your directory structure so its really important to get an accurate repro to diagnose this.

@alan-agius4 alan-agius4 added the needs: repro steps We cannot reproduce the issue with the information given label Mar 18, 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 Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: repro steps We cannot reproduce the issue with the information given
Projects
None yet
Development

No branches or pull requests

2 participants