[CodeArtifact] Npm remote repository not up-to-date

1

Hi,

I would like to use the latest version of vite package (2.7.10) but Code Artifact doesn't list it. It's stuck to v2.6.14.

Vite 2.7.10 was published 13 days ago on npmjs.com. So I think you have a bug somewhere in your metadata cache (we are located in eu-west-3).

AWS documentation states this :

For npm and NuGet packages, there may be a delay of up to 10 minutes from when a new package version is published to npmjs.com or nuget.org and when it is available for installation from a CodeArtifact repository. CodeArtifact automatically synchronizes metadata from these two repositories to ensure the cache is up-to-date.

How to reproduce this problem :

  • npm login to your Code Artifact instance
  • run the following command : npm view vite versions --json

If you run npm view vite versions --json with the official npmjs.com registry, it lists the right versions.

Last point : I tried to download Webpack v5.66.0 from CodeArtifact and everything went well. v5.66.0 was published today. So I face this problem only with vite.

Thank you for your help.

lsimon
질문됨 2년 전122회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠