This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
I can create a dist-tag with characters that encodeURIComponent encodes (🚀), but can not install one #18230
Open
1 of 13 tasks
I'm opening this issue because:
What's going wrong?
My example here is with an emoji, but I assume anything that
encodeURIComponent
encodes will have the same effect.I can create a
dist-tag
on a package by running (in my package's dir):This then successfully creates the
dist-tag
. As an example, here's the output of runningnpm dist-tag ls gitree
following a the above command:If I then attempt to download a package using this new
dist-tag
(in this case vianpm install gitree@🚀
), I get the following error:I'd guess that creating a
dist-tag
somewhere needs the same check as installing one gets.How can the CLI team reproduce the problem?
No
npm-debug.log
file to be found.You can reproduce by following something along these lines, replacing
foo
with some available package name:supporting information:
npm -v
prints:5.3.0
node -v
prints:v8.3.0
npm config get registry
prints:https://registry.npmjs.org/
The text was updated successfully, but these errors were encountered: