yarn icon indicating copy to clipboard operation
yarn copied to clipboard

yarn outdated package tries to authenticate separate package

Open ezbeazy opened this issue 2 years ago • 0 comments

running yarn outdated prettier tries to authenticate a different package and fails

error An unexpected error occurred: "https://npm.pkg.github.com/@other-scope/other-package: unauthenticated: User cannot be authenticated with the token provided.".

The package yarn tries to authenticate for, authenticates successfully when running yarn install. But I don't understand why yarn is attempting to authenticate another package at all, when checking version information of a specific package.

ezbeazy avatar Sep 15 '22 22:09 ezbeazy