NPM Package Name is blocked... #208302
Replies: 5 comments 2 replies
|
This looks like npm's server-side package-name similarity/typosquatting check rather than a normal npm permission error. npm publish --dry-run or checking whether the package name appears available doesn't necessarily guarantee that the registry will accept the name, because the final similarity check happens when publishing. Since you want to keep jpcl, I'd contact npm Support and request a manual review of the name. In your request, explain that jpcl is an independently developed package, that you're not attempting to impersonate or typosquat an existing package, and explain why you specifically need the unscoped name. npm's support page has a "Dispute a package, org, or username" option: The alternative npm is explicitly suggesting is a scoped package such as: @doughmination-ceo/jpcl followed by: npm publish --access=public But if keeping the unscoped jpcl name is important, I'd request the manual review first rather than trying to bypass the registry check. |
|
This error is coming from npm's package-name similarity protection. The registry has detected jpcl as being too similar to existing package names. If you want to keep the unscoped jpcl name, I would contact npm Support and request a review rather than trying to bypass the restriction. You can submit the request here: https://www.npmjs.com/support Explain that the package is your own project and that you're not trying to imitate or impersonate any of the existing packages. Include the exact E403 error and your package details so they can review the name. If npm doesn't approve the name, the supported alternative is to publish it under your scope: @doughmination-ceo/jpcl with: npm publish --access=public |
|
@doughmination The Here is how you can resolve this depending on how you want to proceed: 1. Directly Contacting npm Support for Unscoped ApprovalSince you submitted a general support ticket, you are on the right track! To speed up the review:
Note: npm support reviews unscoped name disputes manually, which can take a few business days. 2. Immediate Workaround: Publish as a Scoped PackageIf you cannot wait for npm support to manually approve the unscoped name, publish under your user scope as suggested by the CLI error:
{
"name": "@doughmination-ceo/jpcl"
}
npm publish --access=public
Scoped packages bypass the global unscoped typosquatting filter because the |
|
The suggestion to ask for a manual review is right, but I would not block on it — and there is a good chance you do not actually need the unscoped name to get what you want. If the reason you want {
"name": "@doughmination/jpcl",
"bin": { "jpcl": "bin/cli.js" }
}Install that and users run I would also set expectations on the review. Four characters against If you would rather stay unscoped, lengthen rather than argue. A distinctive name of seven or eight characters clears the check comfortably and is easier for people to find, which is the thing an unscoped name was supposed to buy you in the first place. |
|
@MoheyElbaz Excellent callout on the Pointing out that binary executable names are decoupled from Adding the context around npm's edit-distance policy for 4-character names also manages expectations nicely regarding support ticket approval odds. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
Body
Hey There!
So I can't seem to open a ticket on NPM about this, as it seems to be a edge case issue, but my package is not being allowed to be published
Any way I can raise this to npm and get it resolved, as I don't want to rename my package, thanks
EDIT: I just opened a general support ticket, not sure if this is the correct direction, but we can pray.
All reactions