Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PhilFlash opened this issue Nov 6, 2022 · 2 comments
Open

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

PhilFlash opened this issue Nov 6, 2022 · 2 comments

Comments

@PhilFlash
Copy link
Contributor

PhilFlash commented Nov 6, 2022

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 ?

@mukundkatpatal
Copy link

was this ever upgraded to ng-14 or 15? @PhilFlash may I know how did you move ahead? I have forked the ngx-charts to https://github.com/mukundkatpatal/ngx-charts-15 and could build and use the lib. But the app still has a dependency to ngx-ui which is built in ng-12. So I cant run the ngx-charts demo. ajv related errors come up.

@PhilFlash
Copy link
Contributor Author

Hi,
see #931

For ngx-charts and Angular14 and 15, see my pull-request swimlane/ngx-charts#1846
In package.json, I use:
"@swimlane/ngx-ui": "^44.4.0",
"ajv": "6.12.6",

Philippe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants