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 ?
@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..
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 ?