Skip to content
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

Invalid target 'x86_64-apple-darwin' for 'router' binary, target for router v1.39.1 or later. #629

Open
steve-keep opened this issue Jun 3, 2024 · 0 comments

Comments

@steve-keep
Copy link

Hi All 👋

Im trying to run the tests against a local server and I am getting an error when trying to download the router:

 info health check - router http://localhost:8088/health +187ms
  pm2 10|rover-inventory    | downloading the 'router' plugin from https://rover.apollo.dev/tar/router/x86_64-apple-darwin/v1.39.0
  pm2  +108ms
  pm2 8|rover-products      | error: HTTP status client error (400 Bad Request) for url (https://rover.apollo.dev/tar/router/x86_64-apple-darwin/v1.39.0)
  pm2  +41ms
  pm2 PM2                   | App [rover-products:8] exited with code [1] via signal [SIGINT]
  pm2  +3ms
  pm2 PM2                   | App [rover-products:8] starting in -fork mode-
  pm2  +1ms
  pm2 PM2                   | App [rover-products:8] online
  pm2  +2ms
  pm2 8|rover-products      | downloading the 'router' plugin from https://rover.apollo.dev/tar/router/x86_64-apple-darwin/v1.39.0

The server is responding with:

malformed request: invalid target 'x86_64-apple-darwin' for 'router' binary, you should download the 'x86_64-apple-darwin' target for router v1.39.1 or later.

Here is a minimal repo:

npm init --yes 
npm i @apollo/federation-subgraph-compatibility
npx fedtest pm2 --endpoint=http://localhost:9001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant