Why does the publish environment not add jquery dependencies | Community
Skip to main content
vinnieyb
New Participant
June 9, 2023
Solved

Why does the publish environment not add jquery dependencies

  • June 9, 2023
  • 2 replies
  • 925 views
 

Hi everyone,

  I encountered the following error when deploying to the release environment,

  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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

Hello @vinnieyb 

 

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

 

2 replies

aanchal-sikka
aanchal-sikkaAccepted solution
New Participant
June 9, 2023

Hello @vinnieyb 

 

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

 

Aanchal Sikka
Umesh_Thakur
New Participant
June 9, 2023
vinnieyb
vinnieybAuthor
New Participant
June 9, 2023

jquer3.6.1 is installed in the dependency