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.

'npm pack' blows up on urls that include the @ symbol #15563

@MylesBorins

Description

@MylesBorins

What's going wrong?

when calling npm pack on a path that includes an @ symbol the resolving algorithm blows up

How can the CLI team reproduce the problem?

$ wget  https://github.com/pugjs/pug/archive/pug@2.0.0-beta7.tar.gz
# this works YAY 
$ npm pack https://github.com/pugjs/pug/archive/pug@2.0.0-beta7.tar.gz
# this doesn't 😐

supporting information:

  • npm -v prints: v2.15.11 || v3.10.10 || v4.0.5
  • node -v prints: v4.x || v6.x || v7.x
  • npm config get registry prints: https://registry.npmjs.org/
  • Windows, OS X/macOS, or Linux?: all

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions