-
Notifications
You must be signed in to change notification settings - Fork 257
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
The engine "node" is incompatible with this module #216
Comments
This is as expected. Node 12 has been in LTS for nearly a year now, and we depend on some of its features. As such do not support |
Will you support higher versions of node, i'm getting the same message now using version "v16.13.2". |
Getting the same error using node 18.9.1 on a deployment environment, can't change it there. |
Current versions of the gateway (2.x) allow |
I get a similar issue for @apollo/federation when i try to |
@lanternlogic what's the output of |
@trevor-scheer I actually figured it out.. was depended on by an old package in another workspace within my project... i didnt know |
@trevor-scheer I am seeing the same issue on my end, whilst trying to use node 18. I do see this package is deprecated https://www.npmjs.com/package/@apollo/federation Here is the output for
|
@shtefanilie you should update to the latest Apollo v4.x |
@lanternlogic I think you're confusing apollo-toolkit with @apollo/client. And even in that case, both of them don't have v4.x |
Hey @shtefanilie, this was originally reported here: apollographql/apollo-tooling#2675 You can get around this problem by setting a dependency resolution. "overrides": {
"@apollo/federation": "0.38.1"
} Its not super ideal but either way you should look at migrating to https://the-guild.dev/graphql/codegen as apollo codegen:generate is deprecated. |
I have same problem. How to remove or migrate @apollo/[email protected] ? I can't migrate to node v18 because this problem. |
@ibmitw try running |
when trying to install @apollo/gateway with yarn, I have the following error:
error @apollo/[email protected]: The engine "node" is incompatible with this module. Expected version ">=12.13.0 <15.0". Got "10.22.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The text was updated successfully, but these errors were encountered: