Skip to content

npm run setup-device is broken: scripts/setup-device.mjs imports a file deleted in v2.1.0 (and it still ships) #42

Closed

Description

@Shinrai

Problem

scripts/setup-device.mjs imports src/lib/adb/setup.mjs, which was deleted in v2.1.0. So npm run setup-device fails with a module-not-found error. The script is still in the published tarball (scripts/setup-device.mjs, 1.6 kB in the 2.1.7 package), so anyone following the README's device-setup step hits it.

Found during the release-docs backfill (#41).

Fix

Either restore the setup flow on top of the current v2 API, or remove the script, its npm script entry and the README instructions. If removed, document the replacement setup steps. Add a smoke test that imports every file under scripts/ so a dangling import fails CI.

Activity

  1. added
    type: bug
    priority: high
    status: confirmed
    area: cli
    on Oct 4, 2026
  2. added
    status: implemented
    and removed
    status: confirmed
    on Oct 4, 2026
  3. cldmv-bot commented on Oct 4, 2026

    @cldmv-bot
    Contributor

    Marked status: implemented — resolved by #45, merged into next. This issue closes automatically when that work ships to the default branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: clipriority: highstatus: implementedtype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions