CLI issue after migrating from Win-Legacy to Windows

Hello all, I’m using a pipeline for my processes, this pipeline packs the process and deploys it to the orchestrator. It was working fine until I upgraded my studio. I was using 22.10.x now I’m using 24.10.8. When I run my pipeline I get this error:
Failed to run the command. UiPath.CommandLine.Core.Exceptions.CommandException: Packaging failed due to one or more errors. Message : Compilation failed or was cancelled. Error : at UiPath.Studio.ProjectPackager.Publish.Services.PublishService.PerformPrePackOperationsAsync(IWorkflowProjectModel projectModel, IPublishSettings settings)

  • at UiPath.Studio.ProjectPackager.Packager.Services.ProjectPackagerService.PrePackAsync(IPackagerHelperService packagerHelper, DetachedProjectModel workflowProject, IPublishSettings publishSettings, ProjectRestoreResult dependencies)*
  • at UiPath.Studio.ProjectPackager.Packager.Services.ProjectPackagerService.PackProjectExternal(String projectPath, UpdateProjectVersionEnum updateProjectVersion, PublishSettings publishSettings, IProgress1 progress, Action1 logEvent, PackageRestoreContext packageRestoreContext, String destinationFolder, String orchestratorToken, CancellationToken cancellationToken) *
    Details…
    *Message: Error : *
  • at UiPath.CommandLine.Core.Services.Impl.PackService.PackProject(String projectPath, ProjectVersion currentVersion, String destinationFolder, PublishSettings settings, IEnumerable`1 packageSources) in C:\ao-ag-6dccd5b6-we_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\PackService.cs:line 267*
    An error was encountered. Please check if everything was configured correctly by visiting Automation Ops - 2025

I believe this is the part on my pipeline where I get the error: “$UI_PATH_CLI” package pack “$PROJECT_PATH”``
Thanks in advance. Cheers

I’ve tried running this pipeline on the local machine terminal where my UiPath-cli is installed and saw other errors that might be related to this.
And I realized that my custom libraries cannot be found while packing so I was getting this error on the last log. I’ve followed this guide : CICD integrations - Managing NuGet feeds and now I can pack everything using cli.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.