react-native-google-signin/google-signin

Unable to install sponsored version

Closed this issue ยท 1 comments

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/

I solved the problem using .yarnrc.yml