robingenz / capacitor-plugin-demo

⚡️ Simple Ionic Angular app to demonstrate the use of certain Capacitor plugins.
https://capacitor-plugin-demo-page.pages.dev
MIT License
99 stars 23 forks source link

bug: npm install fails with 401 Unauthorized or 403 Forbidden #803

Open jcesarmobile opened 5 months ago

jcesarmobile commented 5 months ago

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.

robingenz commented 5 months ago

For the sake of transparency, my message from Discord:

I have just seen your issue on GitHub and it is true that the demo app can currently only be used by people who have access to the sponsorware. The demo app is primarily intended for me to test, but since it is being used more and more, I will probably have to split it up so that the sponsorware plugins have a separate demo app.