Skip to content

[Bug] Init fail on existing project with prisma schema in multiple files (from Prisma 5.15.0) #204

@marmotz

Description

@marmotz

Describe the bug
When I want to init kirimase on an existing project and prisma schema was splitted in multiple files (see https://www.prisma.io/blog/organize-your-prisma-schema-with-multi-file-support) kirimase search prisma/schema.prisma file and fail

To Reproduce
Steps to reproduce the behavior:

  1. Create a next project
  2. Install prisma and move prisma/schema.prisma to prisma/schema/schema.prisma
  3. Launch kirimase init in project root
  4. See error

Expected behavior
Kirimase should auto detect prisma even with the new multiple schema files

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions