I am getting js error | Community
Skip to main content
Level 6
Nov 23, 2021 3:27 PM UTC
Solved

I am getting js error

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Nov 25, 2021 3:25 AM UTC

@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> 

 

5 replies

Asutosh_Jena_
New Participant
Nov 24, 2021 3:23 AM UTC

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!

Translate
Ronnie09Author
Level 6
Nov 24, 2021 11:45 AM UTC

@asutosh_jena_ 

 

We are using AEM 6.5 cloud

Translate
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Nov 25, 2021 3:25 AM UTC

@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> 

 

Translate
Siva_Sogalapalli
New Participant
Nov 23, 2021 3:35 PM UTC

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?

 

Translate
Ronnie09Author
Level 6
Nov 23, 2021 4:00 PM UTC

HI @siva_sogalapalli 

 

Yes it is fresh instance

Yes I am

 

In we-retails I am not getting any error

Translate