Skip to content

npm proxy advertises dist-tags.latest but empty versions{} for x4132/sht40_ad1b_r2 — package findable in search but uninstallable #4204

Description

@Hero988

Description

The registry npm proxy advertises a latest dist-tag for @tsci/x4132.sht40_ad1b_r2 but serves an empty versions map, so the package can be found but never installed.

$ bun add @tsci/x4132.SHT40_AD1B_R2
error: Package "@tsci/x4132.SHT40_AD1B_R2" with tag "latest" not found, but package exists

Steps to reproduce

  1. Search the registry for "sht4" — x4132/SHT40_AD1B_R2 comes back (package search API, and it has a normal package page).
  2. bun add @tsci/x4132.SHT40_AD1B_R2 (or the lowercase name) in any project → the error above.
  3. curl https://npm.tscircuit.com/@tsci%2fx4132.sht40_ad1b_r2 shows the inconsistency directly:
{"name":"@tsci/x4132.sht40_ad1b_r2","dist-tags":{"latest":"0.1.0"}, ..., "versions":{}}

The registry API itself knows the release: package_releases/list returns version 0.1.0 created 2025-08-26, same timestamp as the package. So this isn't a package that was never published — the release exists but the npm proxy has nothing installable for it (possibly a build/transpile that never completed; has_transpiled_code is null on the release).

Why it hurts

This was the only SHT40 sensor package in the registry — exactly the part I needed for a temp/humidity board. As a user the failure is undebuggable: search says the package exists, the site shows it, and bun's "tag not found, but package exists" gives no hint that the published release simply has no artifact. Either hiding release-less packages from search, showing a "no installable release" banner on the package page, or having the proxy return 404 (instead of a dist-tag pointing at nothing) would all make this a much clearer dead end — or better, a rebuild path so the release becomes installable.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions