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')
How should I remove these
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?
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:
@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.