Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Error when generating graphql files #2309

Open
bastianhilton opened this issue Nov 18, 2022 · 0 comments
Open

Error when generating graphql files #2309

bastianhilton opened this issue Nov 18, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@bastianhilton
Copy link

I keep getting this error when I run the command below, any ideas on what is happening.
npx graphback generate
Generation failed: Error:
Unable to find any GraphQL type definitions for the following pointers:

      - C:\Users\sehilton\Documents\github\alternatecms\packages\core\api\schema.graphql
      </b>

This is an example type in my generated-schema.graphql file:

type Agreements {
content: String
created: DateTime
excerpt: String
id: BigInt!
image: String
mediamanager: String
name: String
reference_id: String
shop_id: String
type: String
updated: DateTime
user_id: String
}

@bastianhilton bastianhilton added the bug Something isn't working label Nov 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant