martin
03/05/2018, 10:22 AMError: Cannot use GraphQLNonNull "User!" 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.
Thanks!nilan
03/05/2018, 10:24 AMgraphql
.martin
03/05/2018, 10:26 AM"dependencies": {
"bcryptjs": "2.4.3",
"graphql-yoga": "1.3.2",
"jsonwebtoken": "8.1.1",
"prisma-binding": "1.5.11",
"shortid": "^2.2.8"
},
"devDependencies": {
"@types/bcryptjs": "2.4.1",
"dotenv-cli": "1.4.0",
"graphql-cli": "2.14.1",
"nodemon": "1.15.0",
"npm-run-all": "4.1.2",
"prisma": "1.2.3",
"rimraf": "2.6.2",
"ts-node": "4.1.0",
"typescript": "2.7.2"
}
nilan
03/05/2018, 10:27 AMnilan
03/05/2018, 10:27 AMnilan
03/05/2018, 10:28 AMgraphql-yoga
, prisma-binding
, prisma
and graphql-cli
martin
03/05/2018, 10:29 AMmartin
03/05/2018, 10:32 AMmartin
03/05/2018, 10:32 AMmartin
03/05/2018, 10:32 AMmartin
03/05/2018, 10:36 AMpatrick_madx
03/05/2018, 4:35 PMmartin
03/05/2018, 4:51 PM