run subgraph-a:
cd subgraph-a; npm i; npm run start
run subgraph-b:
cd subgraph-b; npm i; npm run start
run the gateway:
cd gateway; npm i; npm run start
Download the last router release for your machine https://github.com/apollographql/router/releases
put it into this project directory
run the router:
./router -s supergraph.graphql -c router.yaml
Refer to the open github issue to reproduce the difference: apollographql/router#2422 (comment)