Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

ERROR TypeError: Cannot read property 'init' of undefined #959

@perjerz

Description

@perjerz

Bug Report

After update ng update to @angular/flex-layout@7.0.0-beta.22 from beta.19
And after try beta.22, 21, 20 still gets error

What is the expected behavior?

To work well, No error

What is the current behavior?

ng serve
Error
image
image
Callstack
image

What are the steps to reproduce?

Providing a StackBlitz (or similar) is the best way to get the team to see your issue.
https://github.com/AngularThailand/who-use-angular-in-thailand
update angular/flex-layout to latest

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular CLI: 7.1.4
Node: 8.9.4
OS: darwin x64
Angular: 7.1.4
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router, service-worker

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.10.7
@angular-devkit/build-angular      0.10.7
@angular-devkit/build-ng-packagr   0.10.7
@angular-devkit/build-optimizer    0.10.7
@angular-devkit/build-webpack      0.10.7
@angular-devkit/core               7.0.7
@angular-devkit/schematics         7.0.7
@angular/cdk                       7.2.0
@angular/flex-layout               7.0.0-beta.20
@angular/material                  7.2.0
@angular/pwa                       0.10.7
@ngtools/json-schema               1.1.0
@ngtools/webpack                   7.0.7
@schematics/angular                7.0.7
@schematics/update                 0.11.4
ng-packagr                         4.4.5
rxjs                               6.3.3
typescript                         3.1.6
webpack                            4.28.2

Is there anything else we should know?

When downgrade to beta.19, it works correctly.

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