Howtographql: Problem creating the project.

Created on 1 Mar 2018  路  2Comments  路  Source: howtographql/howtographql

i get stuck when put this command:
graphcool init --schema https://graphqlbin.com/hn-relay.graphql --name Hackernews

Whoops, something went wrong while creating the project.

The schema is invalid:
The relation field links has the wrong format: [Link!] Possible Formats: Link, Link!, [Link!]!
The relation field votes has the wrong format: [Vote!] Possible Formats: Vote, Vote!, [Vote!]!
The relation field votes has the wrong format: [Vote!] Possible Formats: Vote, Vote!, [Vote!]! (Request ID: eu-west-1:system:cje7z3xx94c7a0166xym2cdfs)

Most helpful comment

Hi @nicoSieiro ,

I think if you delete whatever files/folders and start it again, and this time use starter in place of relay in the url, it should work.

Like this:

graphcool init --schema https://www.graphqlbin.com/hn-starter.graphql --name Hackernews

instead of:

graphcool init --schema https://graphqlbin.com/hn-relay.graphql --name Hackernews

Did that work?

All 2 comments

Hi @nicoSieiro ,

I think if you delete whatever files/folders and start it again, and this time use starter in place of relay in the url, it should work.

Like this:

graphcool init --schema https://www.graphqlbin.com/hn-starter.graphql --name Hackernews

instead of:

graphcool init --schema https://graphqlbin.com/hn-relay.graphql --name Hackernews

Did that work?

Thanks @nicoSieiro for opening this issue 馃槃Closing this due to inactivity!

Was this page helpful?
0 / 5 - 0 ratings