how do I fix this type error

7 Replies
Neto
Neto2y ago
Generate prisma types and restart vs code
Nas-damha
Nas-damhaOP2y ago
how'd i do that?
Neto
Neto2y ago
npx prisma generate
Nas-damha
Nas-damhaOP2y ago
npx prisma generate? ok
Neto
Neto2y ago
And close and reopen vs code for the other
Nas-damha
Nas-damhaOP2y ago
it worked, thanks what's happening? wait no, it didnt work it still the same fixed it my prisma schema doesnt have the model example after adding it, and
npx prisma generate
npx prisma generate
, is all working
gxp91
gxp912y ago
if you watch the youtube video on when theo was making chirp he gets into detail on this error.
Want results from more Discord servers?
Add your server