Expand my Community achievements bar.

SOLVED

Why does the publish environment not add jquery dependencies

Avatar

Level 1
 

Hi everyone,

  I encountered the following error when deploying to the release environment,QQ图片20230609092942.png

  I found that this $ is undefined is only a problem in the publish environment, because the publish environment does not load jQuery that comes with AEM.

  Does anyone have a solution, I really need it, and I look forward to your replies

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @vinnieyb 

 

Can you please cross-check if jquery is configured as dependency for your base clientlib?

 


Aanchal Sikka

View solution in original post

3 Replies

Avatar

Community Advisor

you should check whether your clientlibs are set to allowedProxy to true.

see the below url

https://experienceleague.adobe.com/docs/experience-manager-65/developing/introduction/clientlibs.htm...

Hope this helps

Umesh Thakur

Avatar

Correct answer by
Community Advisor

Hello @vinnieyb 

 

Can you please cross-check if jquery is configured as dependency for your base clientlib?

 


Aanchal Sikka