capacitor-plugin-demo icon indicating copy to clipboard operation
capacitor-plugin-demo copied to clipboard

bug: npm install fails with 401 Unauthorized or 403 Forbidden

Open jcesarmobile opened this issue 8 months ago • 1 comments

Describe the bug

npm install fails with

401 Unauthorized - GET https://npm.pkg.github.com/download/@capawesome-team/capacitor-zip/6.1.0/aaacda11cdc9eeb40fa2de2be610c531d10b3db3 - authentication token not provided

That was because I didn't have a github token for accessing github npm packages, which is not mentioned to be needed on the README. After adding it I get

403 Forbidden - GET https://npm.pkg.github.com/download/@capawesome-team/capacitor-zip/6.1.0/aaacda11cdc9eeb40fa2de2be610c531d10b3db3

Probably because I'm not a capawesome insider.

To Reproduce run npm install

Expected behavior npm install should succeed

Additional context

Since this repository is linked as a "sample app" in several capacitor-community plugins, it should be able to install for everybody who wants to contribute to those plugins, not just for people who has access to capawesome plugins, maybe having a separate branch just with the capacitor-community plugins or a separate repository, but every capacitor-community should be able to install this app or shouldn't be linked in capacitor-community plugins as it's not usable.

jcesarmobile avatar Jun 07 '24 11:06 jcesarmobile