Skip to content

ngx-ui - angular 14.xx - stackblitz => error #930

@PhilFlash

Description

@PhilFlash

If i use the standard exemple for angular 14 on stackblitz (https://stackblitz.com/edit/angular-ivy-zbl8my)
and if i add package @swimlane/ngx-ui on dependencies,
I have an error :
Error in ~/src/main.ts
ngcc failed to run on @swimlane/[email protected].

If i use the "Swimlane Ngx Ui Base" in angular 11 (https://stackblitz.com/edit/swimlane-ngx-ui-base) and If i update all dependencies to lastest (with refresh button) (to angular 14.2) and change app.module.ts like this :

import { IconModule, NgxUIModule } from "@swimlane/ngx-ui";

@NgModule({
  imports: [BrowserModule, NgxUIModule, IconModule],
  declarations: [AppComponent],
  bootstrap: [AppComponent]
})
export class AppModule {}

I have an error:
Error in /turbo_modules/@swimlane/[email protected]/bundles/swimlane-ngx-ui.umd.js (11361:9)
setting getter-only property "validate"

IMHO, there is a bug.
How to use the lastest ngx-ui and angular 14.2.x (with typescript 4.8.x) in stackblitz ?

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