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

Name reported as available but can't be used in npm publish #10

Closed
astur opened this issue May 24, 2018 · 1 comment
Closed

Name reported as available but can't be used in npm publish #10

astur opened this issue May 24, 2018 · 1 comment

Comments

@astur
Copy link

astur commented May 24, 2018

I had try to publish on npm package named 'while-true'. npm answered me:

npm ERR! publish Failed PUT 403
npm ERR! code E403
npm ERR! Package name too similar to existing packages; try renaming your package to '@astur/while-true' and publishing with 'npm publish --access=public' instead : while-true

And it was first moment when I found that something wrong with name 'while-true'. This name is reported by npm-name as available:

~ $ npm-name while-true
✔ while-true is available

It will be better if npm-name will say something like this:

⚠ while-true is free but available

...or like this:

⚠ while-true is too similar to existing package whiletrue
@sindresorhus
Copy link
Owner

Duplicate of #7

@sindresorhus sindresorhus marked this as a duplicate of #7 May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants