Hello, Adobe Community
We're in the process of migration AEM from 6.3 to 6.5. We've made first steps and now we have the problem with loading pages which have target areas:
And the error is: Uncaught ReferenceError: $CQ is not defined.
Could you please suggest what's the problem can be?
This issue was reported to the AEM engineering team.
The solution provided was to add cq.shared dependency on "/etc/clientlibs/foundation/main".
Check if this helps. Also I would suggest you to recompile all JSPs, invalidate Cache and rebuild the clientlibs.