hey all, i've followed <this guide> exactly and i'...
# help
l
hey all, i've followed this guide exactly and i'm seeing this error:
Copy code
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.
does anyone know how to resolve it?
t
This is an issue on our end because we need to mark GraphQL as a peer dep
You can force a version by adding a resolutions field in package.json
We're coming out with a brand new GraphQL setup soon though so might want to consider that
l
i've tried adding:
Copy code
"resolutions": {
    "graphql": "15.8.0"
  }
to the root
package.json
but it doesn't seem to help
maybe i will wait for the new setup - cheers! any idea on when that will be available?
t
Did you try deleting node modules and installing
We're putting together a rough preview to share next week + hoping to polish over the next few weeks
l
yeah i deleted node modules and package-lock. no worries, will wait for the preview - thanks @thdxr