Skip to content

Failing when package has only 1 version #7

@SamiAlavi

Description

@SamiAlavi

Node: 18.19.1
npm: 10.2.4

Code reference: https://github.com/npm/cli/blob/v10.2.4/lib/commands/view.js#L300-L308
Test package: utm-converter

$ npx is-esm utm-converter 0.1.1
$ ❌ Unable to find version 0.1.1 of utm-converter
$ npx is-esm utm-converter
$ ❌ Unable to fetch the package

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions