Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-7901

NPM Virtual repo can't aggregate a repo named "npm"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 4.0.1
    • Fix Version/s: 4.7.5
    • Component/s: NPM
    • Labels:
      None

      Description

      Steps to reproduce -
      1.Create a virtual NPM repo
      2.Create a remote npm repo, call it "npm"
      3.Configure a base url in artifactory such as myrepo.artifactory.com:8081/artifactory (mandatory for reproduction)
      4.add it to /etc/hosts
      4.npm config set ${virtual_repo_url}

      The construction of the tarball url will produce a malformed link -
      https://myrepo.artifactory.com:8081/artifactory/api/npm/npm-virtual/npm/ionic/-/ionic-1.6.1.tgz

      Notice the extra "npm" after "npm-virtual"

        Attachments

          Activity

            People

            Assignee:
            shayb Shay Bagants
            Reporter:
            uriahl Uriah Levy
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: