Nino Vrijman
07/07/2022, 1:05 PMinit
I get an error saying a Prisma 1 project was detected and the command is aborted ๐ Does anyone know how to work around this?Alex Ruheni
Nino Vrijman
07/08/2022, 12:42 PMNino Vrijman
07/08/2022, 1:09 PMprisma.yml
file exists according to this: https://github.com/prisma/prisma/blob/e8136ea6f62582ed49b5549108283c0a45e4e422/packages/cli/src/utils/detectPrisma1.ts. If it should be possible to run Prisma 1 and Prisma2+ side by side shouldnโt it be allowed for that file to exist?
Or should I remove the prisma.yml
, check all the required GraphQL files and generated types into source control and then continue setting up Prisma 2?Alex Ruheni
andrewicarlson
07/08/2022, 4:30 PMprisma.yml
and generate your prisma client, than rename it as prisma.yml
againNino Vrijman
07/11/2022, 9:19 AMprisma.yml
file works just fine ๐ Maybe renaming the prisma.yml
file should be documented somewhere because it is definitely still necessary when upgrading, for example when running the prisma-upgrade
cli tool.Nino Vrijman
07/11/2022, 9:19 AM