We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Even though i have done npm insatlled npm i prisma-json-schema-generator I am getting this error /bin/sh: 1: prisma-json-schema-generator: not found
npm i prisma-json-schema-generator
My prisma.schema looks like this `datasource db { provider = "postgresql" url = env("DATABASE_URL") }
generator client { provider = "prisma-client-js" }
generator jsonSchema { provider = "prisma-json-schema-generator" keepRelationScalarFields = "true" schemaId = "some-schema-id" includeRequiredFields = "true" persistOriginalType = "true" }
model adr { sequence_id Int @id case_id }`
The text was updated successfully, but these errors were encountered:
I'm having the same issue.
Sorry, something went wrong.
Did you find some solution please?
You can fix this by prepending yarn
yarn
generator jsonSchema { provider = "yarn prisma-json-schema-generator" }
Also works for npm:
generator jsonSchema { provider = "npx prisma-json-schema-generator" }
This happens when I update it to 5.1.3:
No branches or pull requests
Even though i have done npm insatlled
npm i prisma-json-schema-generator
I am getting this error
/bin/sh: 1: prisma-json-schema-generator: not found
My prisma.schema looks like this
`datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
}
generator jsonSchema {
provider = "prisma-json-schema-generator"
keepRelationScalarFields = "true"
schemaId = "some-schema-id"
includeRequiredFields = "true"
persistOriginalType = "true"
}
model adr {
sequence_id Int @id
case_id
}`
The text was updated successfully, but these errors were encountered: