Expand my Community achievements bar.

SOLVED

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 Accepted Solution

Avatar

Correct answer by
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

View solution in original post

2 Replies

Avatar

Correct answer by
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

Avatar

Administrator

@SamarGill Did you find the suggestions from users helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni