'Why am i getting 503 error when 'npm access resctricted'

I have a problem with setting my currently-publicly-published npm package. What I want is to set its public status to restricted or private. it should be npm access restricted <npm-package>, but I'll get this:

npm ERR! code E503 npm ERR! 503 Service Unavailable - POST https://registry.npmjs.com/-/package//access - Service Unavailable

enter image description here

Does anyone notice, what's wrong here? Appreciate it!



Solution 1:[1]

Thanks to my sharp sight and AKX for pointing out, that a paid subscription is needed in order to make packages private.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tomi