Skip to content

Error when upgrading from angular 15 to angular 16 #84

@arttu76

Description

@arttu76

Got the following error when compiling after upgrading my project from angular 15 to angular 16:

Error: src/app/app.module.ts:430:9 - error NG6002: 'SimpleModalModule' does not appear to be an NgModule class.
SimpleModalModule, node_modules/ngx-simple-modal/simple-modal/simple-modal.module.d.ts
export declare class SimpleModalModule {
This likely means that the library (ngx-simple-modal) which declares SimpleModalModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

Edit: migrated to https://material.angular.io/components/dialog/overview - it's okay, but in some parts not as nice as ngx-simple-modal.

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