I’m going through the graphql-node tutorial and getting the following error when I run
post-deploy: spawnSync graphql ENOENT Running graphql get-schema --project foo ×
Here is my .graphqlconfig.yml:
projects: app: schemaPath: "src/schema.graphql" extensions: endpoints: default: "http://localhost:4000" database: schemaPath: "src/generated/prisma.graphql" extensions: prisma: database/prisma.yml
And this is my prisma.yml:
datamodel: datamodel.graphql endpoint: https://us1.prisma.sh/jon-moore-9ffc3c/foo/bar secret: mysecret123 hooks: post-deploy: - graphql get-schema --project foo
I am using Windows and running the commands in the Git CLI. I tried the same thing using Linux and had no issues, however I need to know how to do this is Windows for work. Any input is greatly appreciated. Thanks.