mokyx
mokyx16mo ago

Database error on examples-next-prisma-starter

Hi, im on node 18.16.0. I'm trying to clone and use this : https://github.com/trpc/examples-next-prisma-starter I'm following the README but unfortunately I got an error : Error: P1001: Can't reach database server at localhost:5432 I guess there is something I'm missing, I supposed the project would automatically create and run a local DB server but it seems to not be the case.
Any clues ^^ ?
GitHub
GitHub - trpc/examples-next-prisma-starter: 🚀 tRPC starter repo wit...
🚀 tRPC starter repo with E2E-testing. Contribute to trpc/examples-next-prisma-starter development by creating an account on GitHub.
3 Replies
Aleed.dev
Aleed.dev16mo ago
hey umm from the porject i can see it's using postgres . do u have it installed locally on your system?
mokyx
mokyxOP16mo ago
Switched to another example so I can't confirm, but indeed postgres wasnt installed -> might be worth trying if someone encounter the same problem
Aleed.dev
Aleed.dev16mo ago
ahh that might be the problem then you can use planetscale .