Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-26971

Incorrect npm metadata reported when using group repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.29.0, 3.30.0
    • Fix Version/s: 3.31.0
    • Component/s: NPM
    • Labels:
    • Notability:
      3

      Description

      Issue: 

      When querying npm metadata via NPM Group repository, getting undefined errors as below.

       

      [root@centos79 nvm]# npm show serve@* version --registry=http://localhost:8081/repository/npm-group
      undefined@11.3.0 '11.3.0'
      undefined@9.2.0 '9.2.0'
      undefined@6.5.7 '6.5.7'
      undefined@6.5.8 '6.5.8'
      

       

      Upon using NPM Proxy repository, the same works fine

       

      [root@centos79 nvm]# npm show serve@* version --registry=http://localhost:8081/repository/npm-proxy
      serve@0.0.1 '0.0.1'
      serve@0.0.2 '0.0.2'
      serve@0.0.3 '0.0.3'
      serve@0.0.4 '0.0.4'
      

       

       Reproduce Steps: 

      1. Create a npm-group repo with npm-proxy and npm-hosted repo. 
      2. Query version of any public modules using npm group repo
      3. Query the same module using npm proxy repo

       

      Expected Behavior: Expecting the npm group repo output to provide actual module versions, same as npm-proxy repo. 

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sonofreichuk Sergii Onofreichuk
              Reporter:
              sappusamy Srinivasan Appusamy
              Last Updated By:
              Joe Tom Joe Tom
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title