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

NPM version that contains numbers+characters will cause the client fail when resolving packages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 6.11.3
    • Fix Version/s: 6.16.0
    • Component/s: NPM
    • Labels:
      None
    • Severity:
      Medium

      Description

      when NPM packages that contains version such as 1.0.0-1abc published to Artifactory, under the .npm sub folder two package.json file will be created. And the npm client will fail when trying to resolve the package from Artifactory.

       

      steps to reproduce:

      1. publish a package with version 1.0.0-1ab
      2. under the .npm sub folder, 2 package.json files will be generated: 1.0.0-1ab and 1.0.0-1-ab
      3. run npm install@1.0.0-1ab will return the following:                                                                                                                                                                   "npm ERR! notarget No matching version found for package@1.0.0-1ab

       

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                barakh Barak Hacham
                Reporter:
                oronc Oron Chalaf
                Votes:
                5 Vote for this issue
                Watchers:
                9 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Sync Status

                    Connection: RTFACT Sync
                    RTMID-19781 -
                    SYNCHRONIZED
                    • Last Sync Date: