コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

page.js:387 Uncaught ReferenceError: _ is not defined

Avatar

Level 6

Hi,

We have migrated AEM Version from 6.3 to 6.5 SP10.

It was fine in DEV environment.

But When we deployed to Higher environment, we are getting below error in author whenever we will open page in edit mode.

The same error is coming in all the pages including we retail pages as well.

Path: /libs/cq/gui/components/authoring/editors/clientlibs/sites/page

 

page.js:387 Uncaught ReferenceError: _ is not defined
at page.js:387:339

akhilr48142671_0-1647869986623.png

Can someone please help. It is environment specific,.

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

Hi @akhilraj 

 

I have 6.5.10 in my machine it is working perfectly fine for me.

  • By any chance are you overwriting anything under /libs?
  • Can you check again in a fresh instance?

Thanks

元の投稿で解決策を見る

4 返信

Avatar

Community Advisor

@akhilraj it looks your code is not able to resolve the dependency on _.extent(...), check the below thread on the same kind of issue if it helps

https://stackoverflow.com/questions/13556010/referenceerror-is-not-defined

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/uncaught-referenceerror-is...

Avatar

正解者
Community Advisor

Hi @akhilraj 

 

I have 6.5.10 in my machine it is working perfectly fine for me.

  • By any chance are you overwriting anything under /libs?
  • Can you check again in a fresh instance?

Thanks

Avatar

Level 6

Thanks Jeevan.

Issue was with upgrade only, we tried in fresh instance and it is working fine.

 

Avatar

Employee Advisor

Tried to replicate with minification but didn't get this issue with my local AEM 6.5.10(we.retail).

No error message, with and without minification.