I'm getting some weird issue that I haven't had be...
# orm-help
n
I'm getting some weird issue that I haven't had before so I'm using the graphql boilerplate that and the genrated file prisma.graphql Does not update
n
You mean it doesn't update after you ran
prisma deploy
?
Can you share what you
prisma.yml
looks like please? 🙂
n
Yes
I'm using the basic node one
prisma/1.19.0 (windows-x64) node-v10.12.0
graphql-cli
2.17.0
n
Can you see if the
post-deploy
hook that's configured in
prisma.yml
is being invoked when you run
prisma deploy
? It should print smth like this:
Copy code
post-deploy:
Running graphql get-schema --project database ✔
n
Yes it's running
post-deploy:
Running graphql get-schema --project database...
However when I do changes to the data model what’s getting updated is the endpoint not the generated file.
n
Also, what happens when you're running the command directly in the terminal:
Copy code
graphql get-schema --project database
Does it update then?
n
Not it's not getting updated, can confirm it now after three attempts however what is getting updated is the actual endpoint
n
Are there any errors?
n
When I run the npm run prisma deploy I'm getting this error
post-deploy:
spawnSync graphql ENOENT
Running graphql get-schema --project database ×
Other than that I'm not getting any real errors
n
Ah, seems like this a know issue already: https://github.com/graphql-cli/graphql-cli/issues/354
n
Any solution for this I really like the boilerplates
n
🦜 1
d
thank you @nikolasburk ! I was getting close to insanity with this issue xD. But what's wrong with the post-deploy?