내 커뮤니티 업적 표시줄을 확대합니다.

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

Contexthub console error - store "granite.emulators"

Avatar

Level 5

Hi Team,

 

I am getting the following error on console.

 

AEM : 6.5.15

 

<!--/* Include Context Hub */-->
<sly data-sly-call="${clientlib.js @ categories='granite.utils'}"/>
<sly data-sly-resource="${'contexthub' @ resourceType='granite/contexthub/components/contexthub'}"/>


Error: 

store "granite.emulators" ( ƒ (b,a){this.config=g.extend(!0,{},k,a);a=this.getSupportedEmulators();g.extend(!0,this.config,{initialValues:{devices:a,currentDeviceId:a[0].id,
orientations:[{id:"landscape",title:"Landscape"},{id:"p… ) could not be initialized: TypeError: Cannot read properties of null (reading '1')
at contexthub:428:171
at Array.map (<anonymous>)
at contexthub:428:135
at Array.map (<anonymous>)
at Object.parseMediaRule (contexthub:427:443)
at e._getRules (contexthub:421:353)
at new e (contexthub:419:117)
at new e (contexthub:434:218)
at Object.<anonymous> (contexthub:480:361)
at Function.each (contexthub:52:146)

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Following below blog for sure resolve you issue as it is well known.

https://medium.com/@toimrank/aem-contexthub-7e06f700c51

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Community Advisor and Adobe Champion

Hi, 

Please try the solution from this thread: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/contexthub-is-not-showing-... 


Hope this helps.



Esteban Bustamante

Avatar

정확한 답변 작성자:
Community Advisor

Following below blog for sure resolve you issue as it is well known.

https://medium.com/@toimrank/aem-contexthub-7e06f700c51

Avatar

Administrator

@AEMLearner-1989 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni