Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] npm pack fails on scoped packages #1601

Closed
isaacs opened this issue Aug 1, 2020 · 1 comment
Closed

[BUG] npm pack fails on scoped packages #1601

isaacs opened this issue Aug 1, 2020 · 1 comment
Labels
Bug thing that needs fixing Release 6.x work is associated with a specific npm 6 release

Comments

@isaacs
Copy link
Contributor

isaacs commented Aug 1, 2020

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.

@ljharb
Copy link
Contributor

ljharb commented Aug 2, 2020

Remove it? Won’t that potentially create conflicts? (if not, why is the package name in the filename at all?)

@darcyclarke darcyclarke added Bug thing that needs fixing Release 6.x work is associated with a specific npm 6 release labels Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Release 6.x work is associated with a specific npm 6 release
Projects
None yet
Development

No branches or pull requests

3 participants