Hi all, I'm trying to use real time via Subscripti...
# orm-help
d
Hi all, I'm trying to use real time via Subscription using Prisma Client and I'm stuck on this error :
Copy code
{
  "error": {
    "message": "Cannot use GraphQLSchema \"[object Object]\" from another module or realm.\n\nEnsure that there is only one instance of \"graphql\" in the node_modules\ndirectory. If different versions of \"graphql\" are the dependencies of other\nrelied on modules, use \"resolutions\" to ensure only one version is installed.\n\n<https://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate> \"graphql\" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results."
  }
}
It's like I have multiple instances of
graphql
package but I have installed only one as describe in my
package.json
Copy code
"dependencies": {
    "bcryptjs": "^2.4.3",
    "graphql": "^0.13.2",
    "graphql-yoga": "^1.16.2",
    "jsonwebtoken": "^8.3.0",
    "prisma-client-lib": "^1.18.0"
  },
  "devDependencies": {
    "@babel/core": "^7.1.2",
    "@babel/node": "^7.0.0",
    "@babel/preset-env": "^7.1.0",
    "eslint": "^5.6.1",
    "standard": "^12.0.1"
  }