Skip to content

GraphQL Modules issue with deps #2243

@tvvignesh

Description

@tvvignesh

Describe the bug

Hi. I deleted by yarn.lock file and node_modules just to reinstall all dependencies afresh and I was able to do that but an issue occurred with GraphQL Modules. I started getting this error below (I am using Dependency Injection)

image

And there is no change in the code or the environment when it was working and when it was not working - the only changes are in yarn.lock and thus the dependencies themselves (when I roll back to the old yarn.lock everything works). Can you help on why it breaks on upgrade?

To Reproduce
Steps to reproduce the behavior:

**Working yarn.lock file: ** https://gist.github.com/tvvignesh/cc043ae59c18fd3920fdeb9bb8b615a0#file-yarn-working-lock

**yarn.lock file with issue: ** https://gist.github.com/tvvignesh/cc043ae59c18fd3920fdeb9bb8b615a0#file-yarn-notworking-lock

Expected behavior

Expecting GraphQL modules to work even on dependency upgrades

Environment:

  • OS: Ubuntu 22.04

**PS: ** I use yarn 2 for install

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