[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 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南