New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project 'default' not found #1123
Comments
I'm having the exact same issue - although on mac os |
Me too. I am trying to update old .graphqlrc.yml to new one. Has same problem, |
Me too. You can get around it by specifying a default project. But then |
Based on this thread from commander, it appears the parent command prevents the subcommand from sharing any common arguments, in this case I got this working by adding
Although this feels wrong and I'm not sure if this is best way to fix this problem. |
#1128 will fix this problem |
|
Describe the bug
I followed the migration guide found in your repo here: Here and Here.
After that, my .graphqlrc.yml looks like this:
My prisma.yml:
My package.json script:
"gen": "graphql codegen --project prisma"
When I run npm run gen, I get
× Project 'default' not found
, and that's where it ends. I can't figure out how to fix it.package.json:
To Reproduce
Follow the above.
Expected behavior
Generate a prisma.graphql file.
Versions (please complete the following information):
Windows 10
The text was updated successfully, but these errors were encountered: