-
Notifications
You must be signed in to change notification settings - Fork 401
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
Cannot find module '@apollo/gateway' or its corresponding type declarations. #992
Comments
I don't understand why it doesn't get loaded by Yarn. You have to add |
Same problem here.
|
This issue should be fixed in 7.4.6. Let me know if you still face any errors. |
@kamilmysliwiec It works properly. Thanks for quick fix! |
Thank you @kamilmysliwiec - that's fixed it. 👍 |
Hello, sorry to bother @kamilmysliwiec, but it doesn't seems fixed for me in 7.4.6 :/ I have added @apollo/gateway as advised above and it works then :) |
Ran into this issue today when checking out code onto a laptop i dont use as often. Fixed by updating Node to latest version, and reinstalling packages. |
I had the same issue. I had everything up to date, but my node version was v10.x.x. I need to upgrade my local node version to the latest LTS (v12.18.2) and now it works. Maybe it helps someone. |
I can confirm the bug with Node 12 LTS on Archlinux. |
This error is back since |
error solved by updating each of these packages |
I solved my problem by installing node 14.0.0. |
tha
thanks, it works for me |
I tried with Node 15.12.0, 14.16.0, and 14.0.0 but I still got the same errors. This solution solved my errors too
|
Still can replicate by following the Introduction Alternatives guide. @kamilmysliwiec could you check this, please? Thank you! |
I was using node version: and it worked. |
Thanks for your reply, and I face the same issue after upgrading the node to 15.x.x. and I downgrade to the following versions now: node v14.16.1 It works now. |
I just got this error when doing a minor upgrade to reinstalled everything, |
Fresh install on node 15 and latest libs with apollo etc, still get the same error. Fixed by separately installing @apollo/gateway. I assume then this issue has not yet been fixed? |
I solved my problem by downgrade version of node to v14.16.1 and delete node_modules folder and install it again in my project it worked now. |
It looks like However, if you are really into making it work in node version >= 15, and If you are in a controlled environment, you can do |
Seems relevant to share here: As of the landing of apollographql/federation#713, we're now testing |
This issue occurs also with node 16 |
Getting this error with node 16 also, gonna try downgrading to versions 14.16.xxx |
Get the same error with NodeJS 16 and the following dependencies. "dependencies": {
"@nestjs/common": "^7.6.15",
"@nestjs/core": "^7.6.15",
"@nestjs/graphql": "^7.10.6",
"@nestjs/platform-express": "^7.6.15",
"apollo-server": "^2.24.0",
"apollo-server-express": "^2.24.0",
"graphql": "^15.5.0",
"graphql-query-complexity": "^0.8.1",
"graphql-subscriptions": "^1.2.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.0",
"rxjs": "^6.6.7"
}, |
I went back to node LTS (14.17) and it now works as intended!! |
I was having this problem while using Node v16.4.2. Problem solved using lts/fermium (v14.17.3) |
I fear this issue is not fixed yet, since i'm facing this with what seems to be a up-date version: ^8.0.2 |
@andersonmadeira Just encountered the same problem |
I'm submitting a...
Current behavior
There is a problem with dependencies.
Environment
The text was updated successfully, but these errors were encountered: