Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

I am getting js error

Ronnie09
Level 4
Level 4

Hi

I am getting below JS error on empty page as well as when component is authored

 

Uncaught TypeError: Cannot read properties of undefined (reading 'CoreComponents')
at clientlib-base.lc-4b1bdc85d63595822c60af40b59aab3d-lc.min.js:13
at clientlib-base.lc-4b1bdc85d63595822c60af40b59aab3d-lc.min.js:13

 

How should I remove these

5 Replies
SivaPrasadReddyS
Level 8
Level 8

Just to understand bit more, is this fresh AEM instance ? 

are you using required version of core components?

can you also check we-retail pages and see if you get same error there if you have it on your instance?

 

Ronnie09
Level 4
Level 4

HI @SivaPrasadReddyS 

 

Yes it is fresh instance

Yes I am

 

In we-retails I am not getting any error

Asutosh_Jena_
Community Advisor
Community Advisor

What is the AEM version you are using?

 

Please ensure to use the latest core component version and it should resolve the issue as I can see the issue is related to core components clientlibs.

 

The latest core component available is:

https://github.com/adobe/aem-core-wcm-components/releases/tag/core.wcm.components.reactor-2.17.12

 

Thanks!

Asutosh_Jena_
Community Advisor
Community Advisor

@Ronnie09 Do you mean AEM 6.5?

 

In that case you need to upgrade the core component version manually and it will be fixed. Update the below 2 dependency on your project pom or manually download and upload the core module on AEM.

 

<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.core</artifactId>
<version>2.17.12</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.all</artifactId>
<type>zip</type>
<version>2.17.12</version>
<scope>provided</scope>