Expand my Community achievements bar.

error coming while running aem up command

Avatar

Level 1

SamarGill_0-1723451170155.png

when i am running  the aem up command it showing the spanwn UNKNOWN error due to which localhost:3000 is not opening up. 

what could be the reasons behind this error. can anyone tell me how to resolve it.

 

1 Reply

Avatar

Community Advisor

Hi @SamarGill 
The spawn UNKNOWN error might occur if the version of Node.js or NPM is outdated or corrupted. Please try to update the NPM and Node js

 

If the issue persists, consider reinstalling or updating the AEM environment you're working with.

  • Delete the existing AEM project’s node_modules folder
  • Clear the npm cache: npm cache clean --force
  • Reinstall the project dependencies: npm install

 



Arun Patidar