I keep getting this error whenever I try to publish my NPM package.
Im doing
npm publish --access public
I keep getting this error whenever I try to publish my NPM package.
Im doing
npm publish --access public
Is easier-iss
the name of your package, or a dependency?
If it’s yours, I believe you need to go to npmjs.org first, log in, and claim that package name.
What I would do if I were you is, authenticate myself with
npm adduser
then publish the package with
npm publish
. I have been able to publish packages without any problem in this way.
Which will ask you for your npm account credentials, so make sure you have an npm account
I’ve already fixed this issue. Thanks!
I just signed in and then it allowed me.