Importing prisma client in sqlite getting started docs fails
ORMDescription
the section about initializing PrismaClient in Sqlite quick-start use the following:
lib/prisma.ts
but this
give me this error when running
To reproduce
try setting up Prisma with sqlite quick start guide
Environment
- Windows 11
- Nodejs 24.11.1
- Prisma 7.1.0
My solution
I changed it to:
and the error stoped
please validate the solution before updating the docs
the section about initializing PrismaClient in Sqlite quick-start use the following:
lib/prisma.ts
but this
give me this error when running
tsx server.ts:To reproduce
try setting up Prisma with sqlite quick start guide
Environment
- Windows 11
- Nodejs 24.11.1
- Prisma 7.1.0
My solution
I changed it to:
and the error stoped
please validate the solution before updating the docs