Unable to install sponsored version
Closed this issue · 3 comments
Unable to install sponsored version:
401 Unauthorized - GET https://npm.pkg.github.com/@react-native-google-signin%2fgoogle-signin - unauthenticated: User cannot be authenticated with the token provided.
I sponsored a few hours ago but haven't been able to install the sponsored version from the GitHub registry. I keep getting 401 and have tried both yarn v4 and npm 10.1. For the npm project, I just created a blank npm project and tried to install the package, with the same error.
I have triple-checked the token, and regenerated it, and it has the "read:packages" (only that) - it is a classic token, not fine-grained.
.npmrc:
//npm.pkg.github.com/:_authToken="ghp_xx"
@react-native-google-signin:registry=https://npm.pkg.github.com/
I've also tried removing the quotes around the token, and then I get:
403 Forbidden, Permission permission_denied: read_package
Hello @gunnartorfis,
Thanks for asking! According to the repo settings, you have a pending invite to the repo. You need to accept it first.
![Screenshot 2024-02-13 at 22 51 39](https://private-user-images.githubusercontent.com/1566403/304558380-88b4ee16-3ae4-4f5e-8ae4-f7fa1c2f25a0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMzIwNjIsIm5iZiI6MTcyMTIzMTc2MiwicGF0aCI6Ii8xNTY2NDAzLzMwNDU1ODM4MC04OGI0ZWUxNi0zYWU0LTRmNWUtOGFlNC1mN2ZhMWMyZjI1YTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTdUMTU1NjAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2JhMWQxY2ZkNDdmMDZlZjViMTc4ZGJjZDIxZDA3YmFjNDQ3MWFlZWU0NmUyNTA2NGY5OWY4MzdmMDAyMTFlZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.AZlzl3nPIuxSgibm0EUWzuqGKz1cS8IWO5cUEkq5F9Y)
Please let me know if this doesn't help,
Thank you for sponsoring! 🙂
Of course.. 🤦♂️
Thanks a lot 🙌