-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yarn 2.0 support #2923
Comments
Do you have graphql package installed in your project? |
I have the same issue.
Then I tried to add the package mentioned above:
And tried again:
My env:
package.json: "devDependencies": {
"@graphql-mesh/cache-inmemory-lru": "0.5.37",
"@graphql-mesh/cli": "0.45.0",
"@graphql-mesh/openapi": "0.23.1",
"@graphql-mesh/types": "0.57.1",
"@graphql-mesh/utils": "0.24.2",
"graphql": "16.2.0"
} |
Same problem. This works: in package.json:
in .yarnrc.yaml
|
Thanks for the reports! Can someone create a simple reproduction? Sorry but I'm not adding a lot here but just labeling it according to our new Contribution Guide and issue flow. It seems already got into Now in order to advance to Later to progress to Thank you and sorry that this comment is not a complete solution (yet). |
+1 Yarn 1.x versions (which supports node_modules) is in EOL maintenance. With Corepack since Node 18 there's been a large push to use plug and play, which is what yarn 2.x >= uses. PNP is much more explicity with its dependencies, so it would be nice to see this advance and garner native support from the main maintainers. |
Describe the bug
GraphQL Mesh does not appear to have correctly defined dependencies in its packages, and as such will not run out of the box with Yarn 2.0+. Some of the issues come from upstream packages, but some are also
@graphql-mesh
packages.To Reproduce
Steps to reproduce the behavior:
This can be manually worked around by adding the following to
.yarnrc.yml
.Environment:
@graphql-mesh/cli
: 0.41.0Additional context
The text was updated successfully, but these errors were encountered: