Has anyone else encountered `spawnSync graphql ENO...
# orm-help
h
Has anyone else encountered
spawnSync graphql ENOENT
on
hooks: post-deploy: -graphql get-schema -p prisma
?
h
ENOENT mean it can't find graphql binary to run. Try cleaning your node_modules and reinstalling the stuff or install graphql-cli globally using
npm i -g graphql-cli
d
@Hendrik Wendt: Are you using windows? Then you might be facing this regression: https://github.com/prisma/prisma/issues/3491 This is fixed in beta
h
Yes, on Windows. I fixed it for now using
- graphql.cmd ...
as described
👍 2