aws codeartifact login missing auth-token for Node8
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
### Describe the bug
As described [here|https://docs.aws.amazon.com/codeartifact/latest/ug/npm-yarn.html#npm-yarn-configure-login], `aws codeartifact login` command is adding `always-auth=true` in specific cases.
In the following setup, the always-auth=true should be added to `~/.npmrc`, otherwise `yarn install` will yield random errors.
### Expected Behavior
yarn install works.
### Current Behavior
yarn fails to find random packages in CodeArtifact repository, see Support Case #9917874041.
### Reproduction Steps
As above.
### Possible Solution
Add manually `always-auth=true` as the first line of ~/.npmrc
### Additional Information/Context
_No response_
### CLI version used
1.152.0
### Environment details (OS name and version, etc.)
MacOS
Contributor guide
Assessment
This issue has not been assessed yet.