react-native-google-signin / google-signin

Google Sign-in for your React Native applications
https://react-native-google-signin.github.io/
MIT License
3.12k stars 877 forks source link

Unable to install sponsored version #1298

Closed ChrisMichaelPerezSantiago closed 3 weeks ago

ChrisMichaelPerezSantiago commented 3 weeks ago

Error

I have problems installing the package with a sponsored version. Currently the token is of type Personal access tokens (classic).

I will appreciate your help.

chrismperez@Chriss-MBP vt-native % yarn add @react-native-google-signin/google-signin

yarn add v1.22.10
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
error An unexpected error occurred: "https://npm.pkg.github.com/@react-native-google-signin%2fgoogle-signin: Permission permission_denied: The token provided does not match expected scopes.".
info If you think this is a bug, please open a bug report with the information provided in "/Users/chrismperez/Desktop/vt-native/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

.npmrc (file configured)

//npm.pkg.github.com/:_authToken=a9a.....

@react-native-google-signin:registry=https://npm.pkg.github.com/
ChrisMichaelPerezSantiago commented 3 weeks ago

I solved the problem using .yarnrc.yml