I'm receiving the following error when running locally.
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.
I have added graphql to my root package.json's resolutions section (I am using workspaces)
{
...
"resolutions": {
...
"graphql": "15.5.1"
}
}
I have since cleaned my cache, deleted all node_modules folders, deleted yarn.lock, and reinstall the dependencies using yarn. However, the error persists. Additionally, there's only one version of graphql in the yarn.lock file. Any ideas?