Failed to load schema from ./server/graphql/schema.graphql #6907
Unanswered
deadcoder0904
asked this question in
Q&A
Replies: 1 comment 7 replies
-
|
I actually have the same question, though I think my solution is simply going to be to upload the generated graphql schema file to my github repo and refer to it statically there. By the way I'm using typegraphql to generate the file when running my server in development mode |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am unable to create
schema.graphqlfile when usingprisma+ nexus-prisma & thus unable to generate GraphQL Codegen (i tried this on my working setup that deletingschema.graphqlthrows the same error)It throws the following error:
My
codegen.ymllooks like:And my
server/graphql/schema.tslooks like:How do I make sure it creates
server/graphql/schema.graphqlbefore graphql-codegen runs?Repro is available on
prismabranch on this commit → deadcoder0904/twitter-api-v2-3-legged-login-using-next-connect@60d7924Beta Was this translation helpful? Give feedback.
All reactions