Skip to content

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

Open
@steve-keep

Description

@steve-keep

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions