volta icon indicating copy to clipboard operation
volta copied to clipboard

error: Could not download [email protected] from https://registry.npmjs.org/npm/-/npm-9.8.1.tgz

Open uxin opened this issue 1 year ago • 1 comments

1726290454983

uxin avatar Sep 14 '24 05:09 uxin

if you want to use alternative sources and registries to download tools, you shoud configure hooks for Volta, here is an example

{
  "npm": {
    "index": {
      "prefix": "https://registry.npmmirror.com/"
    },
    "latest": {
      "prefix": "https://registry.npmmirror.com/"
    },
    "distro": {
      "template": "https://registry.npmmirror.com/npm/-/npm-{{version}}.tgz"
    }
  },
}

see also: https://docs.volta.sh/advanced/hooks

crazeapple avatar Feb 19 '25 03:02 crazeapple