Why Robot fails to run a project when the Nuget directory is on a shared drive and cannot get packages from local sharedrive? Orchestrator job fails with NU1101: Unable to find package xxxx. No packages exist with this id in source(s) When i run the process from Assistant it doesn't install the package. I get the error "NU1101: Unable to find package xxxx. No packages exist with this id in source(s):" Robot fails to install the package.
When the Robot is executing the job, it checks the project.json file of the package and checks the list of dependencies it needs. The Robot checks for the packages in all the available resources and retrieves it from the one that responds first. For more information, read the About Automation Projects on the Robot page.
The error NU1101: Unable to find package{PackageName_and_version}. No packages exist with this id in source(s) {followed by a list of sources} indicates that the Robot looked for the package in the designated sources, but could not find the specific package with the specific version in any of the sources.
Possible causes for this behavior and how to address them:
- Restricted Internet access
This often occurs when the Robot is running on a computer with restricted Internet access and cannot access the online package repositories. UiPath's recommendation is that the Robot be allowed to access the online package repositories. For more information on which endpoints to whitelist in the firewall/proxy, read Services the Robot connects to. For information on how to route the Robot through your proxy / firewall, read Redirecting Robots Through a Proxy Server.
Alternatively, if it is not possible to whitelist the endpoints, package sources like any local feed or the Orchestrator feed need to be managed by the owner of the setup. Therefore, make sure that the specific package (including version) that the Robot needs is located in the local source or in the Orchestrator Library feed. Read more on the About Libraries page.
Alternatively, if it is not possible to whitelist the endpoints, package sources like any local feed or the Orchestrator feed need to be managed by the owner of the setup. Therefore, make sure that the specific package (including version) that the Robot needs is located in the local source or in the Orchestrator Library feed. Read more on the About Libraries page.
- The Robot does not have permissions to the Folder package feed
If the Robot is meant to download a package from a specific Folder feed from Orchestrator, the Robot account should have the Robot Role assigned. In the Robot role, enable the Folder Packages permissions, of level View. Read more on the Package feeds page.
- The Robot does not have access to the library feed
If the Robot is meant to retrieve a user-made library from the Orchestrator library feed, it needs the appropriate permissions. Modify the Robot Role > Tenant permissions and enable the Libraries item, with permission levels of "View" and "Create".
Read more about it on the About Libraries page, Libraries Permissions section.
- The Robot account is missing the appropriate Roles
If a Robot account has the "Allow to be automation user" role assigned, then it must also have the "Automation user" role assigned. Both roles are necessary, as having one but not the other can lead to this erroneous behavior. Read more on the Default roles page.
- The Library feed is limited to "Only tenants"
If the library feed is configured for "Only tenant feed", the Robot might not be able to retrieve a library package uploaded onto the Host feed.
In order to solve this, navigate to Orchestrator > Tenant > Settings > Deployment and under Libraries select "Both Host and Tenants feeds"
In order to solve this, navigate to Orchestrator > Tenant > Settings > Deployment and under Libraries select "Both Host and Tenants feeds"
- The Nuget repository is customized
When publishing a process from UiPath Studio, one can select to publish it in a custom location - not Orchestrator. Read more about it on the About publishing automation projects page.
In this case, the Robot needs to be configured to access that nuget repository. For instructions on how to do that, read the About the activities feeds page, section "Add or remove Activities feeds".
For troubleshooting the NU1102 error codes, you can start with the advice from this technical article. If it does not help, follow the specific advice from the article "How to troubleshoot the NU1102 error code ".
In this case, the Robot needs to be configured to access that nuget repository. For instructions on how to do that, read the About the activities feeds page, section "Add or remove Activities feeds".
For troubleshooting the NU1102 error codes, you can start with the advice from this technical article. If it does not help, follow the specific advice from the article "How to troubleshoot the NU1102 error code ".