npm / registry-issue-archive

An archive of the old npm registry issue tracker
https://npm.community
249 stars 47 forks source link

Registry returned 403 for PUT on dist-tag add (owner) #359

Open gaspard opened 5 years ago

gaspard commented 5 years ago

When running this command:

npm dist-tag add repo-cooker@6.1.0 latest

I get the following error:

Registry returned 403 for PUT on https://registry.npmjs.org/-/package/repo-cooker/dist-tags/latest

I am an owner of this package on npm (gbucher handle). How is this possible ?

gaspard commented 5 years ago

I think I nailed the issue. The problem seems to be the web interface of npmjs.com which gives (and shows) access rights but these are not really given.

I asked the first owner to run the npm command:

npm owner add gbucher repo-cooker

and now it all works.