DEV Community

Discussion on: Build a full stack app with create-t3-app

Collapse
 
joelalmei profile image
Joel Almeida

Thanks a lot for this tutorial! It's very helpful. One thing I would add that I got stuck on for a little bit is that you have to run prisma generate after creating your schema before you can access the prisma client.

Collapse
 
nexxeln profile image
Shoubhit Dash

You're welcome!
prisma db push automatically runs prisma generate for you. Weird it didn't work for you.

Collapse
 
joelalmei profile image
Joel Almeida

That is really strange! I had run prisma db push, I could see everything on railway no problem, but the client didn't work until I also ran prisma generate, so yeah, no idea what that's about

 
nexxeln profile image
Shoubhit Dash

Glad you got it working!