error coming while running aem up command

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.

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.
Hi @samargill,
cc - @kautuk_sahni
This happens when CMD tries to open the localhost automatically in the browser.
I found a workaround for this issue. You can use the —-no-open flag to bypass the automatic functionality and manually open the localhost in the browser of your choice.
Use this command - aem up --no-open
Then the simulator keeps running.
I know that I am late for this, but I faced this error only yesterday. After trying all the things possible, I accidentally came across this flag when I fired the command wrongly, and the suggestions came up.
I hope this helps someone someday.
Thanks and regards,
Darpan Aneja
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.