1 Answer
- Newest
- Most votes
- Most comments
3
npm uses a local package cache. It will only reach out to the remote repository if it doesn't find the package in the cache. If you want to make sure that packages you request are stored in CodeArtifact, you can clear the cache before running npm install with npm cache clear -f
. See https://docs.npmjs.com/cli/v7/commands/npm-cache for the docs.
If that wasn't the issue, you can confirm if the npm client made requests to your CodeArtifact repository using CloudTrail.
answered a year ago
Relevant content
- asked 2 years ago
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago