Check to see if in your package.json file "prisma.schema" is pointing at the directory and not the "prisma.schema" file:

from:

"prisma": {
    "schema": "./prisma/schema/schema.prisma"
},

to:

"prisma": {
    "schema": "./prisma/schema"
},
Answer from BloodOwl on Stack Overflow
Discussions

Prisma 6.6.0 does not work with `prismaSchemaFolder`
Bug description Prisma does not recognize schema folder in v6.6.0 # migrations folder hidden for brevity ❯ tree prisma prisma β”œβ”€β”€ schema β”‚ β”œβ”€β”€ config.prisma β”‚ β”œβ”€β”€ devops.prisma β”‚ β”œβ”€β”€ index.prisma β”‚... More on github.com
🌐 github.com
22
April 8, 2025
prismaSchemaFolder Pattern?
Hi, do I need a `.prisma` file every time I encounter a folder structure of `prismaSchemaFolder`? Based on the example below, (a,b).prisma fails to read the model of c in (a,b).prisma. The services folder does not have .prisma. The services folder subtest folder has .prisma. More on answeroverflow.com
🌐 answeroverflow.com
August 26, 2025
How to setup multiple Prisma clients in combination with `prismaSchemaFolder`
I'm trying to setup multiple Prisma clients (as I have 2 sperate databases) in combination with `prismaSchemaFolder`. As I'm having 2 Prisma clients I need to define the ouput folder manually like: ``` generator client { output = "../../../node_modules/@prisma/db1/client/" provider = ... More on answeroverflow.com
🌐 answeroverflow.com
October 22, 2024
Schema could not be found after Prisma 6.6.0 update
}``` The following is my schema.prisma: ```generator client { provider = "prisma-client-js" previewFeatures = ["driverAdapters", "prismaSchemaFolder"] } datasource db { provider = "postgresql" url = env("DATABASE_URL") directUrl = env("DIRECT_URL") } ``` This completely broke Prisma for me ... More on answeroverflow.com
🌐 answeroverflow.com
April 8, 2025
🌐
GitHub
github.com β€Ί prisma β€Ί prisma β€Ί discussions β€Ί 24413
Preview feature feedback: `prismaSchemaFolder`, Multi-file Prisma Schema Β· prisma/prisma Β· Discussion #24413
Support for your having Prisma Schema in multiple files is in preview behind the prismaSchemaFolder preview feature since release 5.15.0 on June 4th: Release Notes: https://github.com/prisma/prisma...
Author Β  prisma
🌐
DevGenius
blog.devgenius.io β€Ί splitting-prisma-schema-into-multiple-files-a-simple-guide-0e28da7c5cd7
Splitting Prisma Schema into Multiple Files: A Simple Guide | by Tanzim Hossain | Dev Genius
October 10, 2025 - Hey buddy! Today, I want to share a solution I found for a common problem with Prisma. By default, Prisma uses just one file called schema.prisma to store all your database models. This can get messy when your project grows.
🌐
Medium
arcdev.medium.com β€Ί how-to-split-your-prisma-schema-a-simple-guide-4a453502f9b8
How to Split Your Prisma Schema: A Simple Guide | by arcdev.in | Medium
January 10, 2025 - Create a schema subdirectory within your prisma directory. You can move your existing schema.prisma file into this directory and split its contents into multiple .prisma files based on logical groupings, such as models related to users, posts, or other domains.
🌐
GitHub
github.com β€Ί prisma β€Ί prisma β€Ί issues β€Ί 26840
Prisma 6.6.0 does not work with `prismaSchemaFolder` Β· Issue #26840 Β· prisma/prisma
April 8, 2025 - Bug description Prisma does not recognize schema folder in v6.6.0 # migrations folder hidden for brevity ❯ tree prisma prisma β”œβ”€β”€ schema β”‚ β”œβ”€β”€ config.prisma β”‚ β”œβ”€β”€ devops.prisma β”‚ β”œβ”€β”€ index.prisma β”‚ └── subscriptions.prisma └── seed.ts 1 ...
Author Β  prisma
Find elsewhere
🌐
Prisma
prisma.io β€Ί blog β€Ί organize-your-prisma-schema-with-multi-file-support
Organize Your Prisma Schema into Multiple Files
June 4, 2024 - A multi-file schema keeps your main schema.prisma, containing the generator and datasource blocks, at the top of your prisma directory, with your models split into files alongside or below it.
🌐
GitHub
github.com β€Ί prisma β€Ί prisma β€Ί discussions β€Ί 25606
prismaSchemaFolder don't work properly Β· prisma/prisma Β· Discussion #25606
> npx prisma generate --schema src/prisma/schema/schema.prisma Environment variables loaded from .env Prisma schema loaded from src/prisma/schema/schema.prisma Error: You don't have any models defined in your schema.prisma, so nothing will be generated. You can define a model like this: model User { id String @id @default(auto()) @map("_id") @db.ObjectId email String @unique name String?
Author Β  prisma
🌐
DEV Community
dev.to β€Ί tanzimhossain2 β€Ί splitting-prisma-schema-into-multiple-files-a-simple-guide-ni1
Splitting Prisma Schema into Multiple Files: A Simple Guide - DEV Community
March 3, 2025 - Hey buddy! Today, I want to share a solution I found for a common problem with Prisma. By default, Prisma uses just one file called schema.prisma to store all your database models. This can get messy when your project grows.
🌐
New Releases
newreleases.io β€Ί project β€Ί github β€Ί prisma β€Ί prisma β€Ί release β€Ί 5.16.0
prisma/prisma 5.16.0 on GitHub
June 25, 2024 - To continue improving our multi-file ... files with the prismaSchemaFolder feature, a path is now relative to the file it is defined in rather than relative to the prisma/schema ......
🌐
Answer Overflow
answeroverflow.com β€Ί m β€Ί 1409699871241535589
prismaSchemaFolder Pattern? - Prisma
August 26, 2025 - - The only strict requirement is that the file containing your datasource and generator blocks (commonly schema.prisma) must be at the root of the schema directory, and your migrations folder must be at the same level as that file.
🌐
Answer Overflow
answeroverflow.com β€Ί m β€Ί 1298388658281386045
How to setup multiple Prisma clients in combination with `prismaSchemaFolder` - Prisma
October 22, 2024 - generator client { output = "../../../node_modules/@prisma/db1/client/" provider = "prisma-client-js" previewFeatures = ["prismaSchemaFolder"] } 1) Is that output fulder the recommended destination in this use case?
🌐
Answer Overflow
answeroverflow.com β€Ί m β€Ί 1359220154134696136
Schema could not be found after Prisma 6.6.0 update - Prisma
April 8, 2025 - Before 6.6.0, prisma generate was working completely fine. Now, it isn't able to find the schema file located in ./prisma/schema/schema.prisma I tried running the command with --schema to specify the location, and then the following is the result of that: ``` Environment variables loaded from .env Prisma schema loaded from prisma\schema\schema.prisma Error: You don't have any models defined in your schema.prisma, so nothing will be generated.
🌐
Answer Overflow
answeroverflow.com β€Ί m β€Ί 1247965446876037243
Main .prisma file location with new prismaSchemaFolder feature (+ Bazel) - Prisma
June 5, 2024 - genrule( name = "combine_prisma_schemas", srcs = glob(["schema/*.prisma"]), outs = ["schema.prisma"], cmd = """ cat $(SRCS) > $@ """, ) generate --schema schema Β· generate --schema schema Β· snaplet/seed with prismaSchemaFolder Β· PPrisma / help-and-questions16mo ago Β·
🌐
Liambx
liambx.com β€Ί docs β€Ί parser β€Ί supported-formats β€Ί prisma
Prisma
When using Liam CLI, specify --format prisma and --input path/to/schema.prisma as follows: ... If the above command runs without issue, you should see an ER diagram generated. If you use the prismaSchemaFolder option in your Prisma configuration, you can still generate the ER diagram by specifying a glob pattern to include all .prisma files in the folder.