When running `prisma deploy` I get the following e...
# orm-help
p
When running
prisma deploy
I get the following error:
Copy code
post-deploy:
Running graphql get-schema --project database !
 ▸    'ENOENT': spawn graphql ENOENT
What could cause this?
After installing graphql globally through npm, I get the following error now:
Copy code
post-deploy:

Running graphql get-schema --project database... !
Error: spawn graphql ENOENT
    at _errnoException (util.js:1022:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
    at onErrorNT (internal/child_process.js:372:16)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)
Exiting with code: 1
n
are you using Windows? Looks like an issue, can you raise it here: https://github.com/graphcool/prisma/? 🙂
p
It was actually my fault. I didn't install graphql-cli prior to this.
n
ah, you even said you installed
graphql
. Yea, the npm package is
graphql-cli
, the binary is
graphql
🙂