Closed vany0114 closed 2 years ago
@vany0114 you need to bump your node.js version to v12 or higher.
https://www.apollographql.com/blog/announcement/backend/its-here-introducing-apollo-server-3/
We’ve dropped support for Node 8 and 10 (which are no longer in LTS), which lets the TypeScript compiler output more efficient code that takes advantage of newer Node features.
Hi guys, not sure if you're aware of this issue.
I was migrating my gateway implementation to Apollo Server 3.* so started by migrating its graphql endpoints (all good there) but when I was migrating the gateway I realized that it throws an error at runtime:
Basically, it is throwing the error here
I had a rough time trying to make it work w/o any luck, so I had to go undo the changes in the gateway and go back to use apollo-server
2.*
these are the dependencies I'm using in the gateway:So by using those dependencies I was able to run the gateway with its endpoints using apollo server
3.*
Any ideas?