how do I fix this type error

7 Replies
Neto
Neto3y ago
Generate prisma types and restart vs code
krei
kreiOP3y ago
how'd i do that?
Neto
Neto3y ago
npx prisma generate
krei
kreiOP3y ago
npx prisma generate? ok
Neto
Neto3y ago
And close and reopen vs code for the other
krei
kreiOP3y 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
gxp913y ago
if you watch the youtube video on when theo was making chirp he gets into detail on this error.

Did you find this page helpful?