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!

    NPM feed and dependencies

    Scheduled Pinned Locked Moved Support
    packagesnpmproget
    3 Posts 2 Posters 24 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.
    • S Offline
      stijn.peeters.external_8202
      last edited by

      I've have succesfully setup a feed for npm on a server, not my machine.
      I can install npm pacakges, but I get errors on some packages, because their dependencies insist on going to the https://registry.npmjs.org/ website. This url is only accessible from the the server where Proget is running, not from my machine.

      I've read that some packages include the source from where they want to look for their dependencies and is not overruled apparently by the registry settings set on my machine which point to the proget server installation.

      Is there a way to solve this within Proget?

      My Example case: npm i angular-cli -g stops on package netw. ( I can install it manually, but not in the flow of depencies of angular-cli.)

      I'm currently evaluating the free version with a Nuget feed, npm feed and a bower feed...

      Product: ProGet
      Version: 4.1.1

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

        Do you have any examples of these packages? If you configure npm to use a differentregistry, then it should always point to your proget instance...

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

          angular-cli gave me problems.
          It tries to retrieve dependent packages from https://registry.npmjs.org. ( https urls don't works on our dev pc's)

          At the moment I also configured the server with the feed as my proxy server, so at least that traffic passes over this server for all package handling. (I also have github and such)

          Tnx for any info you can provide
          Stijn

          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