I can not run Prisma studio
Bug description
I have run
- npx prisma generate
- npm run dev
- and then npx prisma studio but Fatal Error
How to reproduce
Expected behavior
No response
Prisma information
Environment & setup
- OS:
- Browser:
- Database:
Prisma logs
No response
since updating to the latest version I cannot start prisma studio too:
Browser says: ERR_EMPTY_RESPONSE localhost did not send any data
Same here ERR_EMPTY_RESPONSE
I'd been in the same situation where I got the same error (ERR_EMPTY_RESPONSE), but fixed it by restarting my MacBook!
Did anybody of you fix it? Restarted everything but still getting ERR_EMPTY_RESPONSE from the browser. Prisma Studio seems to start fine:
> npx prisma studio
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Prisma Studio is up on http://localhost:5555
But can't be accessed. It just worked a minute ago. Only thing I did in between was install Android Studio. 🤔
Same for me: ERR_EMPTY_RESPONSE
and the solution that works for me is to restart the computer
I have a feeling that the simulator (Android Studio) has something to do with it
I have a feeling that the simulator (Android Studio) has something to do with it
Thats right, i close the simulator and everything works now, i dont know why
Yes, closed the android simulator and it works now again.
Yes, closing android simulator seems to fix it... weird.
Yes. Android emulator and prisma studio use the same port. Just launch the android emulator manually with the -port argument to specify a custom port.
Open your terminal.
Navigate to the directory where your Android SDK is located. Usually, it's in the ~/Library/Android/sdk directory for macOS and C:\Users\Your-Username\AppData\Local\Android\Sdk for Windows.
Go to the emulator directory.
List all your available emulators by running the command emulator -list-avds.
Start your emulator by running the command emulator -avd Your_Avd_Name -port 5556.
happy coding :D