You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a fresh install, I get this error when running yarn dev:
yarn dev
yarn run v1.10.1
$ npm-run-all --parallel start playground
$ nodemon -e ts,graphql -x ts-node --no-cache -r dotenv/config src/index.ts
$ graphql playground
[nodemon] 1.18.11
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `ts-node --no-cache -r dotenv/config src/index.ts`
Serving playground at http://localhost:3000/playground
Server is running on http://localhost:4000
Error: Cannot use GraphQLSchema "[object GraphQLSchema]" 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.
at instanceOf (/Users/julien/code/graphql-prisma-typescript/node_modules/graphql/jsutils/instanceOf.js:37:13)
at isSchema (/Users/julien/code/graphql-prisma-typescript/node_modules/graphql/type/schema.js:34:34)
at assertSchema (/Users/julien/code/graphql-prisma-typescript/node_modules/graphql/type/schema.js:38:4)
at validateSchema (/Users/julien/code/graphql-prisma-typescript/node_modules/graphql/type/validate.js:53:28)
at assertValidSchema (/Users/julien/code/graphql-prisma-typescript/node_modules/graphql/type/validate.js:77:16)
at Object.validate (/Users/julien/code/graphql-prisma-typescript/node_modules/graphql/validation/validate.js:55:35)
at doRunQuery (/Users/julien/code/graphql-prisma-typescript/node_modules/apollo-server-core/src/runQuery.ts:181:30)
at /Users/julien/code/graphql-prisma-typescript/node_modules/apollo-server-core/src/runQuery.ts:80:39
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
Error: Cannot use GraphQLSchema "[object GraphQLSchema]" from another module or realm.
I suspect this is because renovate-bot automatically upgrades dependencies and there are no tests setup in this repo.
The text was updated successfully, but these errors were encountered:
On a fresh install, I get this error when running
yarn dev
:I suspect this is because
renovate-bot
automatically upgrades dependencies and there are no tests setup in this repo.The text was updated successfully, but these errors were encountered: