'How come I'm getting an aws authorization error when setting up tweety?

Im trying to setup tweety but im getting the following auth issue when trying to setup. ive refreshed my aws creds today and am using infra as my default. Im also able to setup other repos like jsfl fine

error An unexpected error occurred: "https://lark-509967626473.d.codeartifact.us-east-1.amazonaws.com:443/npm/LarkTechnologies/eslint/-/eslint-7.31.0.tgz: Request failed \"401 Unauthorized\"".
info If you think this is a bug, please open a bug report with the information provided in "/Users/richardleung-work/lark-repos/tweety/yarn-error.log".
  • ran make npmrc & yarn run aws-sso inside tweety
  • ran AWS Login from snippets
  • expected to be able to setup tweety but


Solution 1:[1]

from the glorious Raj "it has to do with the yarn version. I need to have a file .yarnrc with the following content to build tweety"

raj@SaravanarajsMBP tweety % cat .yarnrc
registry "https://lark-509967626473.d.codeartifact.us-east-1.amazonaws.com/npm/LarkTechnologies/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Richard Leung