Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Stable Archetype for AEM SPA React Project


Level 3

Trying to create project structure for AEM SPA React and the build was success, but faced issues while  creating REACT API calls using useEffect in ui.frontend while building it is throwing error like
eslint-react-hooks not unable to find package. We used archetype 35. 

Any suggestions we can overcome this issue ? Will it be due to use of unstable archetype ? 

2 Replies


Community Advisor

@akashkriz005 can you cross check your nodejs and npm version mentioned in archetype pom.xml vs what's in your system? It often happens if your system has different nodes or npm versions than archetype or if some of the modules or it'd dependencies mention in frontend app module got changed or deprecated.. 


As a best practice try to use latest archetype


Level 3

Hi @Shashi_Mulugu ,

We tried to match the node and npm version that we have with the pom file , but facing issues again for UI Frontend. As mentioned before we used the archetype 35. 



Is there any stable version of node and npm we can try it out so as to match with archetype 35 ?