I am getting js error | Community
Skip to main content
New Participant
November 23, 2021
Solved

I am getting js error

  • November 23, 2021
  • 2 replies
  • 2915 views

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.
Best answer by Asutosh_Jena_

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

 

2 replies

Asutosh_Jena_
New Participant
November 24, 2021

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!

Ronnie09Author
New Participant
November 24, 2021

@asutosh_jena_ 

 

We are using AEM 6.5 cloud

Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
November 25, 2021

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

 

Siva_Sogalapalli
New Participant
November 23, 2021

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?

 

Ronnie09Author
New Participant
November 23, 2021

HI @siva_sogalapalli 

 

Yes it is fresh instance

Yes I am

 

In we-retails I am not getting any error