Skip to content

Regression in CLI v2.0.1: bucket features types fails via nx run-many in package-based monorepo #461

@gsuiffet

Description

@gsuiffet

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.

Metadata

Metadata

Assignees

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