You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. The issue provides a reproduction available on CodeSandbox
2. A failing test has been provided
3. A local solution has been provided
4. A pull request is pending review
Describe the bug
💥 🕸️ Mesh Error: Unable to load cache matching localforage while resolving @graphql-mesh/localforage: Error: @graphql-mesh/utils tried to access @graphql-mesh/localforage, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
Mesh cli cannot be run in yarn 3 due to import errors.
To Reproduce Steps to reproduce the behavior:
Simply follow the installation instructions on the website and try run mesh dev with Yarn.
Additional context
Some of this appears to be an issue with the way the import name is generated, as it's importing @graphql-mesh/localforage not @graphql-mesh/cache-localforage. If I add a cache config with the key cache-localforage and add the package then the cache import works.
However, the underlying issue reappears with different imports that I'm not in control of:
💥 🕸️ Mesh Error: Unable to load merger matching bare while resolving @graphql-mesh/bare: Error: @graphql-mesh/utils tried to access @graphql-mesh/bare, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
This should be @graphql-mesh/merger-bare I believe.
The text was updated successfully, but these errors were encountered:
Issue workflow progress
Describe the bug
Mesh cli cannot be run in yarn 3 due to import errors.
To Reproduce Steps to reproduce the behavior:
Simply follow the installation instructions on the website and try run
mesh dev
with Yarn.Additional context
Some of this appears to be an issue with the way the import name is generated, as it's importing
@graphql-mesh/localforage
not@graphql-mesh/cache-localforage
. If I add a cache config with the keycache-localforage
and add the package then the cache import works.However, the underlying issue reappears with different imports that I'm not in control of:
This should be
@graphql-mesh/merger-bare
I believe.The text was updated successfully, but these errors were encountered: