prisma
prisma copied to clipboard
`validate` error: `Details: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined`
PS C:\Users\Jan\Documents\throwaway\...> npx prisma validate --schema .\prisma\foo.prisma
Environment variables loaded from .env
Prisma schema loaded from prisma\foo.prisma
Error: Get DMMF: Error while trying to read datamodel path
Details: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
Prisma CLI Version : 4.2.0
Seems it broke between 3.14.0 and 3.15.0 (but the error message was improved only later)