Getting this error while creating Apollo gateway by following the article in “Federation 2 quickstart - Apollo GraphQL Docs”. I was able to generate the supergraph schema. But, when i try to run the gateway, i get this error.
Below are the dependencies being used and node version is 14.17.1:
“dependencies”: {
"@apollo/federation": "^0.14.1",
"@apollo/gateway": "^0.49.0",
"apollo-server": "^2.25.3",
"concurrently": "^5.1.0",
"graphql": "^15.0.0",
"json-server": "^0.17.0",
"node-fetch": "^2.6.7",
"nodemon": "^2.0.3"
},
Please help to guide me to fix this issue.