AEM with React/ Angular - blank page and no components | Community
Skip to main content
Level 2
September 20, 2022
Solved

AEM with React/ Angular - blank page and no components

  • September 20, 2022
  • 1 reply
  • 951 views

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!

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 rawvarun

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/spa-editor/react/overview.html?lang=en is compatible with AEM as cloud and AEM 6.5.4+.

1 reply

rawvarun
Community Advisor
rawvarunCommunity AdvisorAccepted solution
Community Advisor
June 29, 2023

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/spa-editor/react/overview.html?lang=en is compatible with AEM as cloud and AEM 6.5.4+.