Expand my Community achievements bar.

SOLVED

I am getting js error

Avatar

Level 7

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

1 Accepted Solution

Avatar

Correct answer by
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> 

 

View solution in original post

5 Replies

Avatar

Community Advisor

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?

 

Avatar

Level 7

HI @Siva_Sogalapalli 

 

Yes it is fresh instance

Yes I am

 

In we-retails I am not getting any error

Avatar

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!

Avatar

Correct answer by
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>