Publish package locally via Command Line

Hi!

I am developing robot to automatically create new versions of robot packages.
I know about Massive Update Tool but I would rather do it “manually” by robot.

The idea is to change dependency version in specific UiPath Robot projects. I can do it without a problem by simply updating project.json file.

The issue is to create .nupkg package from the project and then upload it to Orchestrator via API. I can run .bat script on my dev environment, where Studio and Robot is installed. I also have Automation Developer License. In this case it works perfectly - new nupkg file is created in folder specified in the script.

I prepared script based on this doc: Robot - Command Line Interface

I can not run this script on non-production machine to test it (process with that script would be published on machine with production license). Non-production and Production machines haven’t got Studio. Only Robot is installed there.

When i call to UiRobot.exe “pack” command it shows error like this:

The same error happens, when I try to use UiPath.Studio.CommandLine.Exe “publish” option.

Of course project.json file is accessible - I have full rights to edit, create or delete in folder, where I want to publish package.

Any ideas?