Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. jonathan.erlich_0694
    J
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    jonathan.erlich_0694

    @jonathan.erlich_0694

    0
    Reputation
    1
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    jonathan.erlich_0694 Follow

    Best posts made by jonathan.erlich_0694

    This user hasn't posted anything yet.

    Latest posts made by jonathan.erlich_0694

    • KeyNotFoundException The given key was not present in the dictionary with specific npm packages

      Hi, I have an npm feed with a connector to our Artifactory, as we are working on migrating away from it.
      On one specific package, which 100% works when running npm install from artifactory, I'm getting the following error when running npm install with ProGet as the source. This specific feed is only a connector to our Artifactory, so everything that works there should work here. It also doesn't work when accessing the package in ProGet in the browser. (this is when trying to access it in the browser):

      An error occurred in the web application: The given key was not present in the dictionary.
      
      URL: https://proget.company.loc:8625/feeds/npm-all6/browser-sync/versions
      Referrer: https://proget.company.loc:8625/feeds/npm-all6?Search=browser-sync
      User: Admin
      User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
      Stack trace:    at Inedo.ProGet.Feeds.Npm.NpmConnector.RemotePackage2.GetPUrl(JsonElement package)
         at Inedo.ProGet.Feeds.Npm.NpmConnector.GetPackagesAsync(PackageNameId name, String version, CancellationToken cancellationToken)+MoveNext()
         at Inedo.ProGet.Feeds.Npm.NpmConnector.GetPackagesAsync(PackageNameId name, String version, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at Inedo.ProGet.Feeds.StandardCanonicalPackageFeed`5.ListPackageVersionsAsync(BrowsablePackageId id)
         at Inedo.ProGet.Feeds.StandardCanonicalPackageFeed`5.ListPackageVersionsAsync(BrowsablePackageId id)
         at Inedo.ProGet.WebApplication.Pages.Packages.Versions.ListPackageVersionsPageBase.CreateChildControlsAsync()
         at Inedo.ProGet.WebApplication.Pages.ProGetSimplePage.InitializeAsync()
         at Inedo.Web.PageFree.SimplePageBase.ExecutePageLifeCycleAsync()
         at Inedo.Web.PageFree.SimplePageBase.ProcessRequestAsync(AhHttpContext context)
         at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
      

      This is the npm logs:

      16:33:04          npm http 500 https://proget.company.loc:8625/npm/npm-all6/browser-sync
      16:33:04          npm verb headers { 'content-length': '92',
      16:33:04          npm verb headers   'content-type': 'application/json',
      16:33:04          npm verb headers   date: 'Wed, 19 Nov 2025 14:31:50 GMT',
      16:33:04          npm verb headers   server: 'Kestrel',
      16:33:04          npm verb headers   'cache-control': 'private' }
      16:33:04      2>npm info retry will retry, error on last attempt : error : KeyNotFoundException The given key was not present in the dictionary.: npm [path\to\csproj]
      

      It seems like an internal issue in ProGet caused by the json of this specific package. The package page is also inaccessible in ProGet (error 500).

      This is what
      Help would be appreciated.

      posted in Support
      J
      jonathan.erlich_0694