1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
4
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.
답변함 일 년 전