I’ve recently created a new Organization and went for the paid plan to publish unlimited private packages.
However, each time I try to publish my package to my Org, it keeps giving me the following error:
npm ERR! publish Failed PUT 403
npm ERR! code E403
npm ERR! Forbidden : @myScopeName/myPackageName
I’ve already logged out and then logged in as a scope; like this:
npm login scope=myScopeName
Which then returns the following
logged in as myUserName to scope @myScopeName on http://registry.npmjs.org/
And I’ve checked my
.npmrc file and I have the following lines:
Yet I still can’t publish my package. Does anyone know if I’ve forgotten something else or if I did something wrong according to the above?
PS: I did found simular questions of people with the same problem, but none of them helped me. I also tried the
npm logout and
npm login again.