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?



  • 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



  • 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).



  • 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.



  • Any chance when this might be looked at?



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

    Are you still seeing issues with this?



  • 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!


  • This is on ProGet v4.7.3 by the way.



  • 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.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation