MurhafSousli / ngx-gallery

Angular Gallery, Carousel and Lightbox

Home Page:https://ngx-gallery.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error compiling

CarlosAmorimProjects opened this issue · comments

After I install the library, when I add the basic example to the project for testing, a compilation error occurs, see attached screenshots:

https://meocloud.pt/link/ae6778a4-d7c5-421b-b657-06c20dc0027e/error1.jpg/
https://meocloud.pt/link/a3bba44e-bcd9-412d-b6f8-ec90d8a055df/error2.jpg/
https://meocloud.pt/link/6556624e-8266-4a6f-a500-c7853a4a37d6/error.jpg/

I have imported the library to the module and to the component.

Can you help know what's is going on ?

Which versions are you using for the following packages?

Angular CLI: 15.2.8
Node: 16.17.0
Package Manager: npm 9.7.2
OS: win32 x64

Angular: 15.2.9
... animations, cdk, common, compiler, compiler-cli, core
... elements, forms, language-service, material
... platform-browser, platform-browser-dynamic, router
... service-worker

Package Version

@angular-devkit/architect 0.1502.8
@angular-devkit/build-angular 15.2.8
@angular-devkit/core 15.2.8
@angular-devkit/schematics 15.2.8
@angular/cli 15.2.8
@schematics/angular 15.2.8
rxjs 7.8.0
typescript 4.9.5

Gallery: 10.0.0

NPM did not update correctly all the packages, even with incompatible packages Gallery installed correctly, without any incompatibility error. After a hard update of all the packages and some fixes on some version dependencies, Gallery worked fine.