Skip to content

Misleading Angular SSR warning #10362

Closed
Closed

Description

@swseverance

[REQUIRED] Environment info

firebase-tools: 15.14.0
angular cli: 21.2.7

Platform: macOS

[REQUIRED] Test case

  1. Generate a new Angular workspace that does not use SSR:
ng new angular-workspace-nossr --style css --ssr false --ai-config none
cd angular-workspace-nossr
  1. Init hosting
firebase init hosting
  1. Select a project

  2. Observe the following warning:

Detected a Angular codebase with SSR features. We can't guarantee that this site will work on Firebase Hosting, which is
optimized for static sites. Another product, Firebase App Hosting, was designed for SSR web apps. Would you like to use App
Hosting instead? Learn more here: https://firebase.google.com/docs/app-hosting/product-comparison#hostings

[REQUIRED] Steps to reproduce

Follow the test case

[REQUIRED] Expected behavior

There should be no warning. The Angular workspace is not using SSR features. For reference, if you want to create an Angular workspace that does use SSR you can run the following command:

ng new angular-workspace-ssr --style css --ssr true --ai-config none

[REQUIRED] Actual behavior

There is a warning

Activity

  1. aalej commented on Apr 16, 2026

    @aalej
    Contributor

    Thanks for the report and for opening up PR, @swseverance! I was able to reproduce this, and it does look like we can improve the behavior here to accurately determine if SSR is being used.

    CC: @leoortizz, who knows most regarding on how we determine if a webframework is using SSR

  2. leoortizz commented on Apr 16, 2026

    @leoortizz
    Member

    Thank you for bringing this up @swseverance. I left a comment in the PR, but I believe yes we can make this change.

  3. added a commit that references this issue on Apr 30, 2026
    f2aa408
  4. added a commit that references this issue on Jul 9, 2026
    5ba4a5b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions