ngx-slick icon indicating copy to clipboard operation
ngx-slick copied to clipboard

Compatibility with Angular 4.0.2

Open TcQPAD opened this issue 6 years ago • 1 comments

Hello,

I'd like to use your library in an Angular project where all core packages are in the 4.0.2 version. After installing ngx-slick with npm i --save ngx-slick, I start the application with ng serve --open but I get an error after the application has finished compiling :

ERROR in Metadata version mismatch for module D:/projects/rugbycentric.com/node_modules/ngx-slick/ngx-slick.d.ts, found version 4, expected 3, resolving symbol AppModule in D:/projects/rugbycentric.com/src/app
/app.module.ts, resolving symbol AppModule in D:/projects/rugbycentric.com/src/app/app.module.ts, resolving symbol AppModule in D:/projects/rugbycentric.com/src/app/app.module.ts

I understand that the library is expecting an Angular 5 environment but I'd like to know if there is an old version that is compatible with Angular 4.0.2 ?

The current version installed in my application is (from package.json) :

"ngx-slick": "^0.2.1"

Best regards, Maxime

TcQPAD avatar Jul 25 '18 12:07 TcQPAD

You can use [email protected] it properly works with angular ^4. If you want to use latest version you can set version=3 in the ngx-slick.metadata.json.

AJIex1s avatar Sep 11 '18 17:09 AJIex1s