Skip to content

[BUG] npm pack fails on scoped packages #1601

Closed
@isaacs

Description

@isaacs

found while debugging #1597.

$ npm pack
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path @isaacs/bundle-metadep-duplication-x-1.0.0.tgz
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '@isaacs/bundle-metadep-duplication-x-1.0.0.tgz'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/isaacs/.npm/_logs/2020-08-01T23_21_12_399Z-debug.log

It should remove the scope when creating the tarball filename.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingRelease 6.xwork is associated with a specific npm 6 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions