I am working as a web 3.0 developer in index.as and I intend to add composedb to index.as. I’m having a problem working on ComposeDB.
First of all, I created various models in the graphql models folder and created their composite json files. There is no problem in these parts. But when I try to start graphql server like “composedb graphql:server --graphiql definitions/definition.json”;
"Cannot use GraphQLScalarType “CeramicCommitID” 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
I am encountering the error. I tried to completely uninstall and reinstall many libraries and modules such as PNPM, Yarn, NPM.
My versions are as follows:
(I downgraded the GRAPHQL version, I already tried it in the last version, in 16.6.0.)
How can I solve this problem? I’ve tried the similar question’s answer on the forum "cannot-use-graphqlscalartype-string-from-another-module-or-realm on Oct6 ", but it didn’t fix.