Does anybody actually help here?
# orm-help
h
Does anybody actually help here?
n
Hey Hugo ๐Ÿ‘‹ What issue are you facing? We do try to answer most of the questions asap but sometimes it could take a while.
h
Hi! I'm facing this issue in console when doing "prisma generate"
n
I havenโ€™t seen this error before Can you share your schema file? What version of
@prisma/client
are you using?
h
Using latest version for both prisma and prisma client
Here is my schema:
I tried not using the dataproxy and using the mysql database directly and that fixes it, but I am currently using the data proxy and I wanted to take advantage of it ๐Ÿ˜ž
n
Are you using Planetscale as your MySQL database provider?
h
yep xD
Something weird I noticed: When using the normal mysql string and disabling dataproxy and succesfully generating the prisma client this warning shows up
it is weird cause I have used npm install prisma@latest multiple times already
n
You should have prisma as a devDependency in your package.json. Can you update it to 3.13.0 as well?
You can just manually update it in package.json and run npm install
h
it says it is updated there tho
n
Okay, can you delete your node_modules and then try
npm install
again? Does it still throw the warning when you generate
npx prisma generate
?
h
no error anymore!
๐Ÿ™Œ 1
warning is still there tho lmao
n
I just tried your setup and PrismaClient was generated for me
Amazing!
h
I wonder why the warning is still there lmao
but thanks for the help! ๐Ÿ™‚
n
No worries! ๐Ÿ™Œ Iโ€™ll check on the warning front from my end to see if this is an issue from our end.
โœ… 1