Hi. I am trying to run `prisma deploy` on this pro...
# orm-help
c
Hi. I am trying to run
prisma deploy
on this project but even with the hook, it doesn’t download the prisma schema: https://github.com/christiannwamba/hackernews-node/tree/generated
k
Hm, do you get any errors? I cloned the repo, deleted the
generated
folder and ran
prisma deploy
and both files seemed to get generated.
c
Thanks a lot @kuldar. Try it on the
generated
branch. No I don’t get any errors.
k
Ah, got it! I assume you're running
prisma deploy
inside the database folder? It seems like the
prisma: database/prisma.yml
definition in
.graphqlconfig.yml
is referencing the path where the command is given from(?) So if you run
prisma deploy database
in the root folder, the
generated
folder should appear correctly.
c
Ah I see. Doing that doesn’t seem to generate the
generated
folder. I am actually running from the root of the project and not the
database
folder. It also does not throw any error
k
🤔
c
lol. Does it work for you on the
generated
branch?
k
Yeah, it seemed to work just fine when running it in the root 🤷‍♂️ http://kldr.co/1Vmea8
c
haha. Did you change anything in the code or just running
prisma deploy database
right from the root?
k
It was a fresh clone of the
generated
branch, just changed the workspace name in the endpoint url
c
hmm. Ok I will keep at it and see if I can figure it out. Thanks a lot
n
this seems to be a combination of different bugs that we are currently looking into already. thanks for sharing your reproduction on GH, @codebeast 👌 https://github.com/prismagraphql/prisma/issues/2528
c
Awesome. Thanks @nilan