Replies: 2 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
I checked the public registry endpoint and So the public package document for The next useful detail is the exact error from: npm publish --access publicor, if this is a CLI package from a subdirectory: cd npm
npm publish --access publicPlease include the exact HTTP status and error code/message. For example, A few concrete checks: npm whoami
npm config get registry
npm ping
npm view mothx
npm view mothx-installer name version binAlso verify the package name in {
"name": "mothx"
}npm package-name rules are documented here: https://docs.npmjs.com/cli/v11/configuring-npm/package-json/#name If npm rejects the plain unscoped name even though the public registry returns 404, there usually is not a self-service way to force-claim it. You would need to contact npm/GitHub support with:
For the user-facing CLI experience, you do have one good workaround already: the published package can expose the command name npm install -g mothx-installer
mothxIf you want cleaner package naming while waiting on support, the usual path is a scoped package: {
"name": "@mothx/cli",
"bin": {
"mothx": "bin/mothx"
}
}Then users install |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Product Feedback
Body
I am the creator of the AI agent called mothx, but I cannot publish the official mothx package to NPM, even though it appears unregistered. I was only able to register mothx-installer instead.
I want to avoid workarounds like community-style mothx@cli, as this creates a confusing and unintuitive user experience in terms of naming semantics.
Is there a way for me to publish directly under the plain mothx package name?
Beta Was this translation helpful? Give feedback.
All reactions