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

CLONE - Published scoped npm packages gets wrong path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: 5.9.3, 6.6.5
    • Fix Version/s: None
    • Component/s: NPM
    • Labels:
      None

      Description

      Publish an npm scoped package to Artifactory. You will see that the hierarchy is different than the expected one.

      To easily reproduce and see the difference:
      1. run "npm install @angular/forms"
      2. go to the node_modules/@angular/forms in your filesystem
      3. run "npm publish"

      The path of the installed one (from the remote cache repo):
      http://localhost:9090/artifactory/npm-remote-cache/%40angular/forms/-/forms-5.2.9.tgz
      Marked in blue in the screenshot.

      The path of the published one (in the local repo)
      http://localhost:9090/artifactory/npm-local/%40angular/forms/-/%40angular/forms-5.2.9.tgz
      Marked in red in the screenshot.

      Notice the added %40angular after the /-/

      Important note:
      This does not affect the funcionality of Artifactory. These packages are still resolvable from Artifactory.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              avivb Aviv Blonder
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: