AEB-labs / graphql-weaver

A tool to combine, link and transform GraphQL schemas
MIT License
240 stars 20 forks source link

Launchpad example broken #47

Open benjamin-rood opened 5 years ago

benjamin-rood commented 5 years ago

Says SyntaxError: Unexpected token I in JSON at position 0 at https://launchpad.graphql.com/static/js/main.8ecc894c.js:1:741833 when using in Launchpad, and cannot be connected to by GraphiQL, returns the following error:

Invalid options provided to ApolloServer: Cannot use GraphQLSchema "[object Object]" from another module or realm.

Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.

https://yarnpkg.com/en/docs/selective-version-resolutions

Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.