Yarn Develop Fails on MAC M1

[2024-05-01 13:15:01.269] error: getaddrinfo ENOTFOUND http://localhost:3000
Error: getaddrinfo ENOTFOUND http://localhost:3000
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:83:26)

Getting this error all the time

Also my host file has it all fixed

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
0.0.0.0        localhost
127.0.0.1    localhost
255.255.255.255    broadcasthost
::1             localhost
# Added by Docker Desktop
# To allow the same kube context to work on the host and the container:
127.0.0.1 kubernetes.docker.internal
# End of section

This topic has been created from a Discord post (1235136353558331432) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

I guess this is different solution as I am not using docker to start. I do have mac pro machine too, where the setup ran without any such hassle. So I tried this on one more another mac m1, same issue persists.

I will try to debug more.