how do I fix this type error

7 Replies
Neto
Neto17mo ago
Generate prisma types and restart vs code
Nas-damha
Nas-damha17mo ago
how'd i do that?
Neto
Neto17mo ago
npx prisma generate
Nas-damha
Nas-damha17mo ago
npx prisma generate? ok
Neto
Neto17mo ago
And close and reopen vs code for the other
Nas-damha
Nas-damha17mo 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
gxp9117mo 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