[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ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ