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

npm package version-specific requests respond '404 not found' instead of version-specific JSON metadata

    XMLWordPrintable

    Details

      Description

      We are having an issue proxying npm artifacts in our nexus3 repo from the official npm repostiory. Some artifacts are being proxied but others are failing. It seems that any artifact that is requested with a specific version identifier is failing. For example you can see below the 304 were successful because there was no version at the end of the url, whereas the 404 failures were all on urls with a version at the end of the url. Is this a bug or a configuration issue? I attached the full npm-debug log.

      [INFO] npm http 304 https://internal.nexus.company.com:8450/repository/npmjs/grunt-contrib-less
      [INFO] npm http 304 https://internal.nexus.company.com:8450/repository/npmjs/grunt-contrib-watch
      [INFO] npm http 304 https://internal.nexus.company.com:8450/repository/npmjs/grunt-karma
      [INFO] npm http 304 https://internal.nexus.company.com:8450/repository/npmjs/grunt-contrib-uglify
      [INFO] npm http 404 https://internal.nexus.company.com:8450/repository/npmjs/grunt-bump/0.0.6
      [INFO] npm ERR! registry error parsing json
      [INFO] npm http 404 https://internal.nexus.company.com:8450/repository/npmjs/karma-phantomjs-launcher/0.1.4
      [INFO] npm ERR! registry error parsing json
      [INFO] npm http 404 https://internal.nexus.company.com:8450/repository/npmjs/karma-junit-reporter/0.2.1
      [INFO] npm ERR! registry error parsing json
      [INFO] npm http 404 https://internal.nexus.company.com:8450/repository/npmjs/karma/0.10.10
      [INFO] npm ERR! registry error parsing json
      [INFO] npm http 304 https://internal.nexus.company.com:8450/repository/npmjs/grunt-html2js
      [INFO] npm http 404 https://internal.nexus.company.com:8450/repository/npmjs/karma-chrome-launcher/0.1.2
      [INFO] npm ERR! registry error parsing json
      [INFO] npm http 404 https://internal.nexus.company.com:8450/repository/npmjs/karma-coffee-preprocessor/0.1.3
      [INFO] npm ERR! registry error parsing json
      [INFO] npm http 404 https://internal.nexus.company.com:8450/repository/npmjs/karma-firefox-launcher/0.1.3

        Attachments

        1. Dockerfile
          0.2 kB
        2. npm-debug.log
          69 kB
        3. npmrc
          0.1 kB

          Activity

            People

            Assignee:
            jstephens Joseph Stephens
            Reporter:
            cjackson Christopher Jackson
            Last Updated By:
            Peter Lynch
            Team:
            Nexus - Formats
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title