Skip to content

Version link for git dependencies leads to a 404 #3433

Description

@taham8875

Describe the bug

Dependencies installed from git or a URL still get a version link in the dependency list, and it leads to a 404.

react-native-gauge@0.1.2 depends on "react-native-progress": "github:cwnicoletti/react-native-progress". The version next to it links to

/package/react-native-progress/v/github:cwnicoletti%2Freact-native-progress

which shows "Package Not Found". Same on npmx.dev and on main locally.

To reproduce:

  1. Open https://npmx.dev/package/react-native-gauge
  2. In the Dependencies list, click github:cwn… next to react-native-progress

It comes from depRange() in app/components/Package/Dependencies.vue. When parseDependencyVersion can't read a range, it falls back to the raw spec, and packageRoute turns that into a version route.

The name link has a related problem. It goes to /package/react-native-progress on npm, but what actually gets installed comes from cwnicoletti's GitHub repo, not from that package. So for git and URL specs I don't think the version should link inside npmx at all. Linking to the repo is better.

I'd like to send a PR for this.

Video recording

version-link-404.mp4

Additional context

No response

Logs

Activity

  1. added theissue type on Nov 11, 2026
  2. added
    pending triage
    on Nov 11, 2026
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

    pending triage

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions