Ivan Lukianchuk
02/12/2021, 2:44 AMRyan
02/12/2021, 7:55 AMprisma generate
in a postinstall hook.Ivan Lukianchuk
02/12/2021, 1:58 PMRyan
02/12/2021, 1:59 PM"postinstall": "npx prisma generate"
This is all that’s required.Ivan Lukianchuk
02/12/2021, 2:00 PMRyan
02/12/2021, 2:01 PMthe only reason I got prisma was for nextJs, and every doc I or tutorial seem to follow is broken or using something outdated,Have you followed this from the docs? It seems to work fine for me.
Ivan Lukianchuk
02/12/2021, 2:26 PMRyan
02/12/2021, 2:29 PMnode_modules
which is why you were facing this issue.
I’m not sure if inbetween that time you changed to add prisma versus I think it used to be add prisma/cliThat shouldn’t affect the workflow as
npx prisma
would work in either way.Ivan Lukianchuk
02/12/2021, 2:31 PMRyan
02/12/2021, 2:34 PMIvan Lukianchuk
02/12/2021, 2:37 PMRyan
02/12/2021, 2:40 PM