capawesome-team/capacitor-nfc

Unable to login to npm private registry

anonimitoraf opened this issue · 1 comments

Hi! Love the work that you guys do!

I'm keen to use your NFC lib but when I try to log in to your private npm registry, I get a 403:

$ npm login --scope=@capawesome-team --registry=https://npm.pkg.github.com
npm notice Log in on https://npm.pkg.github.com/
Username: anonimitoraf
Password:
Email: (this IS public) nicdaoraf@gmail.com
npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT https://npm.pkg.github.com/-/user/org.couchdb.user:anonimitoraf - Permission denied
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/anonimito/.npm/_logs/2022-09-10T15_30_46_984Z-debug-0.log

Any ideas why? Thanks!

Ah, nevermind! I was using my account password instead of using a Personal Access token (with a read:packages scope).

(Quite a cryptic field name, I have to say)