hey! I’m new to the GraphQL ecosystem (coming from...
# orm-help
c
hey! I’m new to the GraphQL ecosystem (coming from CakePHP) and just discovered prisma, which seems to be the perfect fit for the backend of our next project. I installed prisma via npm and just did the
Getting started
tutorial. When I want to open the playground it displays
graphqlconfig" file is not available in the provided config directory: ...
. Is this my fault or is the tutorial outdated? 🤔 thanks in advance!
n
is there a file called
.graphqlconfig.yml
in the folder you are opening the Playground in?
Hey @carstenbaumhoegger,
prisma init
doesn't generate a
.graphqlconfig.yml
file by itself, which then leads to a problem when running
prisma playground
🙂 we added a note to this tutorial that you need to add
.graphqlconfig.yml
and how it looks like: https://www.prisma.io/docs/tutorials/prisma-basics/getting-started-ouzia3ahqu (I suppose you were following that tutorial). I also reported these two suggestions: - https://github.com/graphcool/prisma/issues/2335 - https://github.com/graphcool/prisma/issues/2336 If you're interested in providing a PR for them I've love to help you with that! 🙂
c
hey @nilan! Great, thanks for the article and the issues! I’ll look into the issues and try to do the PR
hey @nilan When I exactly follow https://github.com/graphcool/prisma/blob/master/cli/CONTRIBUTING.md for local development I get various errors, e.g. that
module prisma-yml
cannot be found. Is the
CONTRIBUTING
file outdated?
n
hey @carstenbaumhoegger 👋
can you confirm that this works: https://github.com/graphcool/prisma/pull/2338?
c
great Pull-Request, works! simple smile
👌 1
n
I found this pending PR for one of the two issues: https://github.com/graphcool/prisma/pull/2340
c
I’ll check that! How can I use the provided CLI-Code instead of my installed
prisma 1.7.4
?
n
you can create an alias for your local prisma binary