Issue installing latest Prisma in Next.js
Hey currently I have duplicates of schema.prisma in all of my APIs I want to create a shared/prisma/schema.prisma in the root of the repo.
I'm installing Prisma in my Next.js project just to use the types. I do all of my database querying on a dedicated website_api on different service provider to be decoupled from Next.js and for security.
I'm running into issues generating the types with Next.js.
All of my web apis use an older version of Primsa I'm going to update.
Right now, I'm installing the lates version of Prisma, again, just for schema model types.
I keep hitting an error. I use PlanetScale.
Does this look correct for the config file? Next.js uses an .env.local file. Not sure if that matters
This ^^^ is in the root of my next/ folder - same level as package.json.
This is my script for this.
Does this look correct?
I'm installing Prisma in my Next.js project just to use the types. I do all of my database querying on a dedicated website_api on different service provider to be decoupled from Next.js and for security.
I'm running into issues generating the types with Next.js.
All of my web apis use an older version of Primsa I'm going to update.
Right now, I'm installing the lates version of Prisma, again, just for schema model types.
I keep hitting an error. I use PlanetScale.
Does this look correct for the config file? Next.js uses an .env.local file. Not sure if that matters
This ^^^ is in the root of my next/ folder - same level as package.json.
This is my script for this.
Does this look correct?
ORM