Change package.json
to:
{
"dependencies": {
"graphql": "14.4.2"
}
}
And run node index.js
Change package.json
to:
{
"dependencies": {
"graphql": "14.5.0"
// "graphql": "^14.5.0"
}
}
And run node index.js
. Is throws this error:
GraphQLError: Variable "$name" of required type "String!" was not provided.