Expand my Community achievements bar.

SOLVED

AEM with React/ Angular - blank page and no components

Avatar

Level 1

Hello,

 

I am new to AEM "world" and I am still learning. I am trying to follow the documentation on how to implement a project with React but got no success. I cloned the example project and all I got is a blank page, blank templates and no componentes, although they are in the code cloned. When I try to view the page as published this is the error I get:

 

Failed executing script /libs/cq/Page/Page.jsp: Cannot get DefaultSlingScript: Identifier com.adobe.aem.spa.project.core.models.Page cannot be correctly instantiated by the Use API

Cannot serve request to /content/wknd-spa-react/us/en/home.html in /apps/spa-project-core/components/page/page.html


I followed the documentation step by step and also I checked some other tutorials on youtube but got the same result. I just don't know what I am doing wrong. Thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Ensure you use a sample wknd project compatible with the AEM version.

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s... is compatible with AEM as cloud and AEM 6.5.4+.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Ensure you use a sample wknd project compatible with the AEM version.

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s... is compatible with AEM as cloud and AEM 6.5.4+.