UiPath Pack Task for Azure is failing

Hello:

I am doing a simple Hello world code deployment through Azure CI/CD. I am getting the following error for UiPath Pack task. Very simple and following a guided example.

Any help is appreciated

2022-03-07T15:35:38.7914334Z ##[section]Starting: UiPathPack
2022-03-07T15:35:38.8080039Z ==============================================================================
2022-03-07T15:35:38.8080592Z Task : UiPath Pack
2022-03-07T15:35:38.8080919Z Description : Packages an existing UiPath project into a NuGet package.
2022-03-07T15:35:38.8081253Z Version : 2.9.2361707
2022-03-07T15:35:38.8081478Z Author : UiPath
2022-03-07T15:35:38.8081696Z Help :
2022-03-07T15:35:38.8081986Z ==============================================================================
2022-03-07T15:35:42.3029094Z CLI downloaded successfully, extracting…
2022-03-07T15:35:42.3192648Z (node:5248) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
2022-03-07T15:35:43.6153547Z Caching tool: uipcli 1.0.8063-26639 x64
2022-03-07T15:35:44.2060697Z Uipcli args contents: {“type”:“PackOptions”,“options”:{“autoVersion”:true,“projectPath”:“D:\a\1\s”,“destinationFolder”:“D:\a\1\a\Output”,“version”:“”,“outputType”:“None”,“orchestratorUrl”:“https://cloud.uipath.com/firstmanhattan",“username”:“***”,“password”:***,“traceLevel”:“None”,“language”:"en-US”}}
2022-03-07T15:35:44.2074101Z [command]D:\a_temp\8jnbc7yge\lib\net461\uipcli.exe run D:\a_tasks\UiPathPack_33265b4a-5861-41e6-a42c-83efecec0002\2.9.2361707\PackOptions.json
2022-03-07T15:35:49.7824407Z Packing project(s) at path D:\a\1\s…
2022-03-07T15:35:49.8781375Z Failed to run the command. Please specify a valid path to a project.json file or project directory. The path D:\a\1\s did not contain any UiPath projects.
2022-03-07T15:35:49.9276114Z ##[error]Error packaging project: Error: The process ‘D:\a_temp\8jnbc7yge\lib\net461\uipcli.exe’ failed with exit code 1
2022-03-07T15:35:49.9397263Z ##[section]Finishing: UiPathPack

1 Like

Hey @rrevuru

There is some issue with the project.json file path.

Kindly check if it’s with the same name and in the project folder.

Thanks
#nK