naver / egjs-flicking

🎠 ♻️ Everyday 30 million people experience. It's reliable, flexible and extendable carousel.
https://naver.github.io/egjs-flicking/
MIT License
2.75k stars 128 forks source link

Getting build error for ngx flicking argument issue from its node modules files #828

Closed devHimanshu12 closed 10 months ago

devHimanshu12 commented 1 year ago

Description

My angualar cli version is 14.2.12 and rest dependencies of angualar you can seen in screenshots Screenshot from 2023-08-25 12-58-16 Screenshot from 2023-08-25 12-58-28

Steps to check or reproduce

i am using ngx flicking library version is 4.11.0

while build my application i am getting build error related to ngx flicking from node modules argument issue which you can see in screen shot Screenshot from 2023-08-25 13-06-05

If any could help I don't want to upgrade my angular verion to more than 14.

please provide solution if anyone knows.

malangfox commented 1 year ago

Hello @devHimanshu12.

It seems that components built from Angular 15 have compatibility issues with Angular 14. You can add "skipLibCheck": true, to compilerOptions in tsconfig.json to avoid this error temporarily.

We'll let you know if our package provides an additional solution to this problem.

devHimanshu12 commented 1 year ago

Thankyou so much @malangfox , i already did skipLibCheck true, and it solved my issue, but if you find better solution, let me know.

malangfox commented 10 months ago

Angular 14 version has been removed from Angular's LTS Support. It may be unable to fix this issue in our package, which will be built with Angular 15 and higher. If you want to use it in the Angular 14 version, it would be appropriate to use the option commented previously.