NPM Publish error message

Hi,

I am trying to publish a package to the npm registry. In my terminal, I created a new npmjs.org account via npm adduser. I am logged in.

I renamed my package.json file for my package. But when I run npm publish, I am still getting a permissions error message. Can anyone help me?

Hey.

What’s the exact error message?

Joshua

Hi,
Try to change the json file with more than 1 character like lion-lib-a1.
I was getting error too because i just changed it with one character.

I exactly don’t know what is the problem you’re facing it’s just a guess.

1 Like