graphql-nexus / nexus

Code-First, Type-Safe, GraphQL Schema Construction
https://nexusjs.org
MIT License
3.4k stars 275 forks source link

After upgrading to 0.11.1, typegen output is being written to schema.graphql #79

Closed richardjli closed 5 years ago

richardjli commented 5 years ago

I’m on a Mac

Upgraded to 0.11.1 and after this upgrade my typegen output is not being generated due to error “Error: EEXIST: file already exists, mkdir ‘(graphql output schema directory path)’, errno: -17, syscall: mkdir

The graphql schema output is fine.

I suspect it’s related to the commit ae5141e adding recursive mkdir but I can’t fully make sense of it

richardjli commented 5 years ago

Never mind I see a pull request to fix this