When trying to run the process it is giving error Failed to install package

Hello Community,

I have created local nugget package which being used in the process, I have publish using shared tenant.

Somehow, when it is runned in other machine, it is unable to find dependency or local nugget package.

How can I resolved it ?

Plesae find the detailed error message below.

Job failed. Reason: Failed to install package ‘DeliveryOrderXMLCreation_Combined.1.0.16’ RemoteException wrapping System.Exception: Failed to install package ‘DeliveryOrderXMLCreation_Combined.1.0.16’ —> RemoteException wrapping System.Exception: NU1101: Unable to find package Forrest.RPA.Extension.DataExtractor. No packages exist with this id in source(s)

@Sagar_Kumar

If you have created any libraries then those also needs to be uploaded to the orchestrator else the bots cannot find them…

Alternately from the system where you already ran go to the .nuget folder under your userprofile folder and copy the related packages and paste them in yhe target…that also would work

Cheers

Hi @Sagar_Kumar
It seems that the machine where the process is being run does not have access to the source of the local NuGet package that was created. To resolve this issue, you can try the following steps:

  1. Make sure that the local NuGet package is published to a NuGet feed that can be accessed by the machine where the process is being run. You can use a private NuGet feed or the default feed provided by UiPath.
  2. In the project.json file of the process, add a reference to the NuGet package source by adding the following code:
{
  "dependencies": {
    "DeliveryOrderXMLCreation_Combined": {
      "version": "1.0.16",
      "source": "<NuGet feed URL>"
    }
  }
}

Replace <NuGet feed URL> with the URL of the NuGet feed where the local package is published.

  1. Publish the process to Orchestrator with the updated project.json file.
  2. Make sure that the machine where the process is being run has access to the internet and can reach the NuGet feed URL.
  3. Run the process and it should be able to find the local NuGet package dependency and install it successfully.