AEM screens Jquery

Karl515

02-04-2019

I'm trying to create a component for screens with anime.js v3.0.1 library animation.

But I'm getting error.

1724303_pastedImage_0.png

it runs ok with jQuery v3.3.1 outside aem.

But I'm having trouble integrating it to AEM. seems to me like it's jquery conflict

How can I resolve this?

I've tried

Adobe Experience Manager Help | Integrating the JQuery Framework into Adobe Experience Manager

How to resolve jQuery library conflicts in AEM 6?  (seems outdated to me/ foundation directory missing in my instance)

didn't help.

js.txt

1724304_pastedImage_3.png

my production library

1724305_pastedImage_4.png

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

aemmarc

Employee

10-04-2019

Clear the ClientLibrary outputcache directory on the filesystem and reload the page.

  • Search in the AEM instance home folder with command below:

        find launchpad/felix -path "*/bundle*/data/outputcache" -type d   

  • Delete contents of the outputcache folder

Let me know. All the 1.x versions of JQuery should be 3.2.1 now. If it isn't please raise a Daycare ticket.

Answers (7)

Answers (7)

marys389

26-11-2019

In OOTB cq-quickstart-6.5.0.jar I'm still seeing 1.12.4-aem.  I've deleted the launchpad/felix/bundle288/data/outputcache directory but that did not change the jQuery version.  What version is shipped with 6.5?  How do we verify the version if it is showing 1.12.4-aem.

aemmarc

Employee

03-04-2019

What's the version of AEM?

In AEM 6.4.4 (available tomorrow) jQuery was updated to 3.2.1 across the board to address some parts of AEM that were still running jQuery 1.11. So indeed it could be a jQuery mismatch.