Hi, I am working on the tutorial 'Building a Graph...
# orm-help
j
Hi, I am working on the tutorial 'Building a GraphQL server with `graphql-yoga`' with Prisma 1.7 and trying to invoke a post-deployment hook to generate the schema. I have included the following line in prisma.yml: "- graphql get-schema --project blogr" - I get an error when going for prisma deploy: " 'ENOENT': spawn graphql ENOENT" . Any idea why this is? Many thanks
m
Hi! I had the same problem the other day. I think the solution was to make sure that the versions of graphql-cli & graphql-tools that you are running are the latest.
j
thanks. Have tried to install these but I keep having version issues with npm
graphql-tools@3.0.0 requires a peer of graphql@^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
apollo-link@1.2.1 requires a peer of graphql@^0.11.3 || ^0.12.3 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
these issues are becoming annoying and are quite frequent. Is this a npm bug?