Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

npm6: npm show errors with "Cannot read property '1.0.0' of undefined' #20169

@simonua

Description

@simonua

I'm opening this issue because:

  • npm is crashing.
  • npm is producing an incorrect install.
  • npm is doing something I don't understand.
  • npm is producing incorrect or undesirable behavior.
  • Other (see below for feature requests):

What's going wrong?

When running npm show for a basic package created with npm6, npm errors with Cannot read property '1.0.0' of undefined. Likely irrelevant, but this also fails for a package created with npm5.

How can the CLI team reproduce the problem?

  1. md npm6-test && cd npm6-test && npm init -y
  2. Likely irrelevant, but I added scope @connections-education.
  3. npm publish
  4. npm show @connections-education/npm6-test version

https://gist.github.com/simonua/bc80613af7f6f954d10f348fc8f76b5f

supporting information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions