[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
gefragt vor 2 Jahren122 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen