Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

This change fixes 'Error: ɵgetOrCreateAngularServerApp is not a function' which can occur when the dev server stops updating if the user saves while the HTML is in an invalid state.

Closes #31671

This change fixes 'Error: ɵgetOrCreateAngularServerApp is not a function' which can occur when the dev server stops updating if the user saves while the HTML is in an invalid state.

Closes angular#31671
@alan-agius4 alan-agius4 requested a review from clydin November 10, 2025 08:44
@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 10, 2025
@Wycza
Copy link

Wycza commented Nov 10, 2025

@alan-agius4 I am not 100% sure if this will resolve this issue. I've applied this changes to ssr.mjs and the error is gone but then there is another issue:

Recording.2025-11-10.163613.mp4

@alan-agius4 alan-agius4 added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: review The PR is still awaiting reviews from at least one requested reviewer action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Nov 10, 2025
@alan-agius4 alan-agius4 removed the request for review from clydin November 10, 2025 15:42
@alan-agius4 alan-agius4 deleted the ɵgetOrCreateAngularServerApp branch November 13, 2025 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: @angular/ssr target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: ɵgetOrCreateAngularServerApp is not a function - dev server stops updating if the user saves while the HTML is in an invalid state

2 participants