When I run yarn dev
in my nextjs project, the server does not start. I don’t know why is it happening. I am attaching the screenshot of the terminal below.
I was adding a package through yarn add
and I terminated the process when it was linking dependencies. After that, when I am trying to run my development server, I get the same thing all the time.
Please help me fix this problem.
PS: I have deleted the yarn.lock file and node_modules and reinstalled the packages but getting the same thing as shown in the above screenshot. I have also cleared the cache but nothing works.
I tried to start the server on another system and the server successfully started on that system but it is not starting on my system.
Thanks in advance for your help.
I tried to start the development server but it doesn’t seem to start correctly.