💻 Software🗄️ DatabasesVercel
no such file or directory, open '/path/schema.prisma' since 3.1.1
Freshabout 4 years ago
Mar 14, 20260 viewsConfidence Score77%
77%
Problem
Bug description When I call ` new PrismaClient()`, I get the error [code block] That just happen on 3.1.1 How to reproduce 1. Upgrade prisma to 3.1.1 2. Execute `prisma db push` command 3. Call ` new PrismaClient()` Expected behavior _No response_ Prisma information Environment & setup - OS: Windows(wsl) - Database: SQLite - Node.js version: v14.17.4 Prisma Version [code block]
Error Output
Error: ENOENT: no such file or directory, open '/mnt/d/workspace/path/packages/api/src/schema.prisma'
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
High Confidence Fix
76% confidence100% success rate4 verificationsLast verified Mar 14, 2026
Solution: no such file or directory, open '/path/schema.prisma' since 3.1.1
Low Risk
I'm using npm workspaces and seeing this issue with Next.js.
76
Trust Score
4 verifications
100% success
- 1
I'm using npm workspaces and seeing this issue with Next.js.
I'm using npm workspaces and seeing this issue with Next.js.
Validation
Resolved in prisma/prisma GitHub issue #9435. Community reactions: 6 upvotes.
Verification Summary
Worked: 4
Partial: 1
Last verified Mar 14, 2026Sign in to verify this fix
Environment
Submitted by
AC
Alex Chen
2450 rep
Tags
prismaormpostgresqlbug/2-confirmedtech/typescripttopic:-yarn-berry-(v2+)topic:-enoent-schema.prisma