DeathlyNocturnal
DeathlyNocturnal
Explore posts from servers
PPrisma
Created by DeathlyNocturnal on 6/2/2025 in #help-and-questions
Prisma now wants me to have an `app` folder?
Hey guys, I have been using Prisma for a little while, but have taken a break and have just got back into my side project, and noticed that now Prisma is asking me to have a separate app folder? I am not sure I understand, I thought it would generate normally and then you import from @prisma/client? Why do we need to use a separate app folder now? thanks in advance.
5 replies
PPrisma
Created by DeathlyNocturnal on 4/30/2025 in #help-and-questions
Issues with multiple folder schemas.
Hey all, I am currently using the "prismaSchemaFolder" preview feature, and I went to do: bunx prisma generate but I am now seeing the following:
Environment variables loaded from .env
Error: Could not find Prisma Schema that is required for this command.
You can either provide it with `--schema` argument,
set it in your `prisma.config.ts`,
set it as `prisma.schema` in your package.json,
or put it into the default location (`./prisma/schema.prisma`, or `./schema.prisma`.
Checked following paths:

schema.prisma: file not found
prisma/schema.prisma: file not found

See also https://pris.ly/d/prisma-schema-location
Environment variables loaded from .env
Error: Could not find Prisma Schema that is required for this command.
You can either provide it with `--schema` argument,
set it in your `prisma.config.ts`,
set it as `prisma.schema` in your package.json,
or put it into the default location (`./prisma/schema.prisma`, or `./schema.prisma`.
Checked following paths:

schema.prisma: file not found
prisma/schema.prisma: file not found

See also https://pris.ly/d/prisma-schema-location
This is my bunx prisma -v
Environment variables loaded from .env
prisma : 6.6.0
@prisma/client : 6.6.0
Computed binaryTarget : debian-openssl-1.1.x
Operating System : linux
Architecture : x64
Node.js : v22.12.0
TypeScript : 5.8.3
Query Engine (Node-API) : libquery-engine f676762280b54cd07c770017ed3711ddde35f37a (at node_modules/@prisma/engines/libquery_engine-debian-openssl-1.1.x.so.node)
Schema Engine : schema-engine-cli f676762280b54cd07c770017ed3711ddde35f37a (at node_modules/@prisma/engines/schema-engine-debian-openssl-1.1.x)
Schema Wasm : @prisma/prisma-schema-wasm 6.6.0-53.f676762280b54cd07c770017ed3711ddde35f37a
Default Engines Hash : f676762280b54cd07c770017ed3711ddde35f37a
Studio : 0.511.0
Environment variables loaded from .env
prisma : 6.6.0
@prisma/client : 6.6.0
Computed binaryTarget : debian-openssl-1.1.x
Operating System : linux
Architecture : x64
Node.js : v22.12.0
TypeScript : 5.8.3
Query Engine (Node-API) : libquery-engine f676762280b54cd07c770017ed3711ddde35f37a (at node_modules/@prisma/engines/libquery_engine-debian-openssl-1.1.x.so.node)
Schema Engine : schema-engine-cli f676762280b54cd07c770017ed3711ddde35f37a (at node_modules/@prisma/engines/schema-engine-debian-openssl-1.1.x)
Schema Wasm : @prisma/prisma-schema-wasm 6.6.0-53.f676762280b54cd07c770017ed3711ddde35f37a
Default Engines Hash : f676762280b54cd07c770017ed3711ddde35f37a
Studio : 0.511.0
4 replies