Al
07/26/2022, 1:28 PMNurul
07/26/2022, 1:49 PMnpx prisma generate command through spawn function?
But PrismaClient doesnโt get updated?
What output do you get when you invoke the prisma generate command?Al
07/26/2022, 2:01 PMnpm WARN config global--global`, --local are deprecated. Use --location=global instead.`
Environment variables loaded from .env
Environment variables loaded from prisma\.env
Prisma schema loaded from prisma\schema.prisma
โ๏ธ Generated Prisma Client (4.0.0 | library) to .\node_modules\@prisma\client in 168ms
You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()Al
07/26/2022, 2:04 PMnpx prisma generate. but the client is not updated, so I can not use the latest generated client. I should do something like recreate the client, but which is the best way to do that (if is it possible)?Nurul
07/27/2022, 9:48 AMAl
07/27/2022, 5:31 PMNurul
07/29/2022, 1:34 PM