Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jcesarmobile opened this issue Jun 7, 2024 · 1 comment
Open

Comments

@jcesarmobile
Copy link

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants