Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Does ProGet support npm dist-tag or tag?

    Scheduled Pinned Locked Moved Support
    progetnpm
    8 Posts 1 Posters 33 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi,

      I've just installed ProGet 4.4.1 and am having trouble setting package tags in an npm feed. I'd like to be able to have prerelease builds on a beta channel and master builds on latest, but npm publish --tag=beta updates latest, and npm tag and npm dist-tag both fail with server errors. I'm using npm 3.10.9 on windows.

      Does ProGet support npm package tagging?

      Product: ProGet
      Version: 4.4.1

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        It looks like the tagging mechanism used by npm has changed, and does not currently work with ProGet. We are investigating and should have this working again in the next release (which will probably be v4.5.0 tomorrow).

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Hi Dean

          Doesn't look like you were able to get this fix into 4.5.0. I've submitted #EDO-1781 with detailed reproduction steps. Hopefully it's helpful.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Any chance when this might be looked at?

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              As far as I know, this was fixed in v4.5.3 (see release notes page).

              Are you still seeing issues with this?

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                Hi Dean,

                Sorry, I assumed this was still the same issue. It appears there's again something up with the dist-tags:

                lerna(error)   NpmUtilities.removeDistTag    ("@org/app", "lerna-temp")
                Error: Command failed: npm dist-tag rm @org/app lerna-temp
                npm ERR! registry error parsing json
                npm ERR! Windows_NT 10.0.14393
                npm ERR! argv "C:\\Tools\\nodejs\\node.exe" "C:\\Tools\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "dist-tag" "rm" "@org/app" "lerna-temp"
                npm ERR! node v7.3.0
                npm ERR! npm  v4.1.1
                
                npm ERR! Unexpected token < in JSON at position 0
                npm ERR! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
                npm ERR! <html xmlns="http://www.w3.org/1999/xhtml">
                npm ERR! <head>
                npm ERR! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
                npm ERR! <title>404 - File or directory not found.</title>
                npm ERR! </head>
                npm ERR! <body>
                npm ERR! <div id="header"><h1>Server Error</h1></div>
                npm ERR! <div id="content">
                npm ERR!  <div class="content-container"><fieldset>
                npm ERR!   <h2>404 - File or directory not found.</h2>
                npm ERR!   <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
                npm ERR!  </fieldset></div>
                npm ERR! </div>
                npm ERR! </body>
                npm ERR! </html>
                npm ERR! 
                npm ERR!
                
                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  This is on ProGet v4.7.3 by the way.

                  1 Reply Last reply Reply Quote 0
                  • ? This user is from outside of this forum
                    Guest
                    last edited by

                    I see. It appears that dist-tag rm is now failing. We'll investigate and if we are able to reproduce this then it should be easy enough to get in the next maintenance release.

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 1 / 1
                    • First post
                      Last post
                    Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation