Closed LukeSchlangen closed 5 months ago
Like @alan-agius4 mentioned, this is likely caused by https://github.com/angular/angular-cli/pull/27333 and already rolled back in https://github.com/angular/angular-cli/pull/27399. I can do a release today to get that fix out.
Release is out, should be fixed in 17.3.3.
Tested. It works! Thank you!
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Which @angular/* package(s) are the source of the bug?
core, platform-server, router
Is this a regression?
Yes
Description
The port seems to have changed from
4000
to8080
forserve:ssr:
between versions17.3.1
and17.3.2
. This is a breaking change for Cloud Run deployments which expect Angular SSR applications to run on port8080
.Reproduction steps
The steps fail to deploy to Cloud Run:
npm init @angular@17.3.2 angular-17-3-2 -- --ssr
cd angular-17-3-2
gcloud run deploy --allow-unauthenticated
Failing Logs:
These same steps work for version
17.3.1
npm init @angular@17.3.1 angular-17-3-1 -- --ssr
cd angular-17-3-1
gcloud run deploy --allow-unauthenticated
Successful Logs:
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
Because the change seems to have happened between
17.3.1
and17.3.2
, I think it must be somewhere in these changes, but I can't pinpoint what would have caused it: https://github.com/angular/angular/compare/17.3.1...17.3.2