Skip to content
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

GraphClient TypeError: Cannot read properties of undefined (reading 'value') #834

Open
mrosendin opened this issue Oct 21, 2024 · 0 comments

Comments

@mrosendin
Copy link

mrosendin commented Oct 21, 2024

Following the query example in README:

app % yarn graphclient build
yarn run v1.22.22
$ app/node_modules/.bin/graphclient build
[2024-10-21T19:40:00.331Z] INFO  GraphClient Cleaning existing artifacts
[2024-10-21T19:40:00.335Z] INFO  GraphClient Reading the configuration
[2024-10-21T19:40:00.435Z] ERROR GraphClient TypeError: Cannot read properties of undefined (reading 'value')
    at Object.OperationDefinition (/app/node_modules/@graphql-mesh/config/cjs/process.js:454:86)
    at visit (app/node_modules/graphql/language/visitor.js:243:26)
    at app/node_modules/@graphql-mesh/config/cjs/process.js:452:37
    at async Promise.all (index 0)
    at async processConfig (app/node_modules/@graphql-mesh/config/cjs/process.js:446:9)
    at async Object.handler (app/node_modules/@graphql-mesh/cli/cjs/index.js:294:32)

Node v22.9.0 on macOS Sonoma 14.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant