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

Error generating supergraph - EOF while parsing a value at line 1 column 0 #1904

Open
vitomanu96 opened this issue May 15, 2024 · 0 comments
Labels
bug 🐞 triage issues and PRs that need to be triaged

Comments

@vitomanu96
Copy link

Description

I have a problem while generating a supergraph from a config yml file.
The rover command return an error: EOF while parsing a value at line 1 column 0

rover supergraph compose --config ./supergraph-config.yaml      
⌛ resolving SDL for subgraphs defined in ./supergraph-config.yaml
🎶 composing supergraph with Federation v2.7.7
error: Output from `/Users/vitomanu/.rover/bin/supergraph-v2.7.7 compose` was malformed.

Caused by:
    0: /Users/vitomanu/.rover/bin/supergraph-v2.7.7 compose output:
    1: EOF while parsing a value at line 1 column 0
        This error was unexpected! Please submit an issue with any relevant details about what you were trying to do: https://github.com/apollographql/rover/issues/new/choose
federation_version: =2.7.7
subgraphs:
  contabilita:
    routing_url: 'http://localhost:8084/graphql'
    schema:
      subgraph_url: 'http://localhost:8084/graphql'
      introspection_headers:
        AuthKey: AuthValue

An example schema.graphql is attached.

Steps to reproduce

Run this command: rover supergraph compose --config ./supergraph-config.yaml (with previous configuration)

Expected result

Should create the supergraph.graphql file.

Actual result

EOF while parsing a value at line 1 column 0

Environment

Rover Info:
Version: 0.23.0
Install Location: /Users/vitomanu/.rover/bin/rover
OS: Mac OS 14.4.1 [64-bit]
Shell: /bin/zsh

schema.graphql.txt

@vitomanu96 vitomanu96 added bug 🐞 triage issues and PRs that need to be triaged labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 triage issues and PRs that need to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant