[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
asked 2 years ago120 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions