Closed
Description
We are using graphiql-rails as a dependency on one our gems.
From version 1.5
the graphiql page is broken. I can confirm that 1.4.11
along with graphql 1.8.10
works.
The error is present only in production environment. Development works. Might be something that happens during the assets precompile process.
Bug
Accessing GraphiQL page I see only the loading...
message and get this error:
Uncaught Error: Cannot use t "__Schema" 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.
Which then create a second obvious error:
Uncaught ReferenceError: GraphiQL is not defined
Metadata
Metadata
Assignees
Labels
No labels