I’m in a package-based Nx monorepo with two packages:
- one React client
- one Node server
Each defines a script: "bucket:sync": "bucket features types"
-
With v2.0.0:
- Running pnpm bucket:sync inside a package → ✅ works
- Running nx run-many bucket:sync from the root → ✅ works
-
With v2.0.1:
- Running inside a package → ✅ works
- Running via nx run-many →
- React client → ✅ works
- Node server → ❌ fails with:
API key supplied. Using it instead of normal personal authentication.
✖ Bootstrap failed.
[Connect] error: The provided API key is not valid for "https://app.bucket.co/api/bootstrap".
Workaround
Pin @bucketco/cli@2.0.0.