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!

    Proget upgraded 6 -> 2024. Scoped npm packages no longer accessible.

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 16 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.
    • I Offline
      infrastrcture_6303
      last edited by

      We were running Proget 6 and publishing scoped npm packages to it.
      We just upgraded to 2024.8 (build 4).

      Previously, our scoped packages appeared in the feed without the @ symbol.
      Now, we're seeing a new package with the @ symbol. Trying to run npm install results in an error because it can't find the packages previously published under the non-@ symbol name.

      How do I make 2024.8 compatible with the previous behaviour, or how do I rename all of the existing packages.

      To be clear, on the client end, the package is scoped and has the @ symbol. It is only in Proget that the @ symbol seems to be have been getting removed previously.

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @infrastrcture_6303
        last edited by

        Hi @infrastrcture_6303 ,

        We've had one other user report this, and unfortunately it's a bit complicated behind the scenes. ProGet 6 allowed npm packages to be uploaded without a @ in the scope, which meant that if you used a non-npm client (your own script, etc), you could have "bad data" in the database.

        We did not anticipate this data when doing the ProGet 2023 datamigration, so the bad data was brought over.

        We don't have a means of fixing it, and it would take a nontrivial amount of time to do that - so as a free user we can't really put in that time. We do plan on a cleanup task ina few months that will take care of this automatically.

        If you're comfortable with SQL, you may be able to fix it yourself (that's what the other user did), and it invovles a figuring out some queries around the PackageNameIds table.

        Another alternative is to setup a new instance of ProGet 2024 and then just import the packages from disk.

        Thanks,
        Alana

        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