1

after install project with tailwind with the command

npm create vite@latest my-project -- --template react

and after config tailwind, I tried to run my project but I got this error.

I tried to install with next too and got the same error

enter image description here

I tried to reset localhost name, but no success

tried another port enter image description here

but no success

Solution

it seems that something is running in my localhost so I changed to 127.0.0.1:8080

enter image description here

1 Answers1

0

It seems that you have a process listening on port 5173 already.

You can check what is running on that port with:

lsof -i:5173

Or try killing it with:

kill $(lsof -t -i:5173)
Andrew Hulterstrom
  • 1,563
  • 4
  • 18