-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: upgradeIssues related to AngularJS → Angular upgrade APIsIssues related to AngularJS → Angular upgrade APIstype: bug/fix
Milestone
Description
🐞 bug report
Affected Package
@angular/upgrade
Is this a regression?
No, afaik.
Description
When using UpgradeModule.bootstrap() to run AngularJS/Angular apps in hybrid mode, changes to the app after starting the devserver using ng server --hmr
result in this error:
Error: [ng:btstrpd] App already bootstrapped with this element
🔬 Minimal Reproduction
https://stackblitz.com/edit/angular-5qna3t?file=src/app/app.module.ajs.ts
Changing the template in the file above will throw an error in console.
🔥 Exception or Error
Error: [ng:btstrpd] App already bootstrapped with this element
🌍 Your Environment
Angular Version:
11.0.2
Anything else relevant?
Splaktar
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: upgradeIssues related to AngularJS → Angular upgrade APIsIssues related to AngularJS → Angular upgrade APIstype: bug/fix