I tried to run a new gridsome blog starter, and I have the same error:
Full error:
Server wasn’t able to start properly.
[2021-01-30T13:10:48.102Z] error Error: Cannot use GraphQLInputObjectType “FileInfoInput” 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.
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 (/home/user/backend/node_modules/strapi-plugin-graphql/node_modules/graphql/jsutils/instanceOf.js:29:13)
at isInputObjectType (/home/user/backend/node_modules/strapi-plugin-graphql/node_modules/graphql/type/definition.js:174:34)
at printType (/home/user/backend/node_modules/strapi-plugin-graphql/node_modules/graphql/utilities/printSchema.js:147:41)
at /home/user/backend/node_modules/strapi-plugin-graphql/node_modules/graphql/utilities/printSchema.js:59:12
at Array.map ()
at printFilteredSchema (/home/user/backend/node_modules/strapi-plugin-graphql/node_modules/graphql/utilities/printSchema.js:58:13)
at Object.printSchema (/home/user/backend/node_modules/strapi-plugin-graphql/node_modules/graphql/utilities/printSchema.js:40:10)
at Object.generateSchema (/home/user/backend/node_modules/strapi-plugin-graphql/services/schema-generator.js:103:33)
at Object.initialize (/home/user/backend/node_modules/strapi-plugin-graphql/hooks/graphql/index.js:81:9)
at /home/user/backend/node_modules/strapi/lib/hooks/index.js:37:28