module is not working and it is throwing js error. For now I am not sure whether it's jcarousel module issue or jquery library issue in Drupal.
Error:- Uncaught TypeError: r.size is not a function

Using environment:
Drupal version 8.4.2
php 7.0

CommentFileSizeAuthor
#3 jcarousel.jpg41.54 KBneeraprajapati
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

neeraprajapati created an issue. See original summary.

niko-’s picture

Status: Active » Postponed (maintainer needs more info)

Could you show the browser console screanshort with expanded backtrace for error

neeraprajapati’s picture

FileSize
41.54 KB

Hello @niko, Sorry for replying you late. I have attached screen shot here.
I have upgraded Drupal site to latest Drupal version(8.4.2) and this version is using jQuery library version (3.2.1) and as per jQuery upgrade guide size() function is deprecated. I have resolve this issue by replacing "size()" function with "length" in jquery.jcarousellite.min.js library.

I referred this: https://jquery.com/upgrade-guide/3.0/#breaking-change-deprecated-size-re....

niko-’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Hi @neeraprajapati

Sorry for delay with unswer.

As I see you are using jcarousellite library http://www.gmarwaha.com/jquery/jcarousellite/
but this module is for jCarousel https://sorgalla.com/jcarousel/