Skip to content

App Shows Blank Screen in Production Build #32069

@Foddie2

Description

@Foddie2

Command

build

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

N/A

Description

When running the Angular application using the development server (ng serve), the app loads and functions normally. However, after building and deploying the production build (ng build --prod or ng build --configuration production), the application only shows a blank screen. No components rendered

Minimal Reproduction

Failed to load resource: the server responded with a status of 404 ()

Exception or Error

No exception

Your Environment

Angular CLI       : 21.0.2
Angular           : 21.0.3
Node.js           : 22.12.0
Package Manager   : npm 11.6.4
Operating System  : win32 x64

Anything else relevant?

All browsers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions