Skip to content

Window is not defined issue after updating to angular v16 #102

@ahmadallw

Description

@ahmadallw
"@angular/common": "^16.0.3",
"@angular/compiler": "^16.0.3",
"@angular/core": "^16.0.3",
"masonry-layout": "^4.2.2",
 "ngx-masonry": "^14.0.1"

After updating project to angular 16 & when running npm run build:dev & npm run build:dev:ssr the following error appears
Window is not defined

We tried to remove ngx-masonry & run build the issue disappears & build works normally

I guess ngx-masonry should be update to be compatible with angular 16

can we have any support or help to fix this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions