graphql-cli / graphql-cli-prepare

Plugin for graphql-cli to bundle schemas and generate bindings
MIT License
33 stars 3 forks source link

Cannot find module 'bindings-ts' #57

Closed jvbianchi closed 6 years ago

jvbianchi commented 6 years ago

When I run graphql prepare I get this error: Cannot find module 'bindings-ts'

My .graphqlconfig.yml:

projects:
  api:
    schemaPath: "src/schema/schema.graphql"
    extensions:
      endpoints:
        default: "http://localhost:4000"
      prepare-bundle: src/generated/api.graphql
      prepare-binding:
        output: src/generated/api.ts
        generator: bindings-ts
  database:
    schemaPath: "src/generated/prisma.graphql"
    extensions:
      prisma: database/prisma.yml
      prepare-binding:
        output: src/generated/prisma.ts
        generator: prisma-ts
kbrandwijk commented 6 years ago

The name of the generator is binding-ts. Please update your configuration and try again.

jvbianchi commented 6 years ago

Yes, thank you