Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM React spa example 404 http://localhost:3000/etc.model.clientlibs.jsonwknd-spa-react/clientlibs/clientlib-react/resources

Avatar

Level 3

Hi,

 

I was trying to follow this tutorial. When try starting the local react app "npm start" local react instance throws the below error. Any idea how to get it working?

FYI, I am logged into my local instance of AEM and it's up and running.

Screen Shot 2021-07-19 at 4.18.36 PM.png

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi, Can you check the below files to make sure you have the correct client libs path and app start path

/ui.frontend/clientlib.config.js

/ui.frontend/.env

/ui.frontend/.env.development

 



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi, Can you check the below files to make sure you have the correct client libs path and app start path

/ui.frontend/clientlib.config.js

/ui.frontend/.env

/ui.frontend/.env.development

 



Arun Patidar