Skip to content

Multiple "graphql" instances with npm link #3713

@egor-shell

Description

@egor-shell

When I connect my other module to the main application using npm link, an error appears: "Cannot use GraphQLObjectType "Query" from another module or realm."

  • Graphql versions are the same in both modules.
  • There are no other graphics folders in the node_modules folder
  • All versions of graphql in npm ls are identical. What could be the problem?
  • GraphQL added to peerDependencies in the plug-in
  • The options with the removal of package-lock, resolution and npm dedupe did not work. And the problem only occurs with npm link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions