Skip to content

Component update failed: Cannot read properties of undefined #29695

@julianshaw2000

Description

@julianshaw2000

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

No response

Description

  • ff

// typescript file
constructor(fbuserService: FbuserService) {

}
//===== the service

I get message when loading the component:
Component update failed: Cannot read properties of undefined

Minimal Reproduction

above read

Exception or Error

Component update failed: Cannot read properties of undefined

Your Environment

Angular CLI: 19.1.8
Node: 18.19.1
Package Manager: npm 10.2.4
OS: win32 x64

Angular: 19.1.7
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1901.8
@angular-devkit/build-angular   19.1.8
@angular-devkit/core            19.1.8
@angular-devkit/schematics      19.1.8
@angular/cdk                    19.1.5
@angular/cli                    19.1.8
@angular/fire                   19.0.0
@angular/material               19.1.5
@schematics/angular             19.1.8
rxjs                            7.8.1
typescript                      5.6.3
zone.js                         0.15.0

Anything else relevant?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: repro stepsWe cannot reproduce the issue with the information given

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions