soroban-cli icon indicating copy to clipboard operation
soroban-cli copied to clipboard

error: failed to run custom build command for `prettyplease v0.2.15`

Open wais75 opened this issue 1 year ago • 0 comments
trafficstars

Could not install Soroban with cargo version 1.74.1?

error: failed to run custom build command for prettyplease v0.2.15

Caused by: could not execute process C:\Users\dy.cio\AppData\Local\Temp\cargo-installuDAHrA\release\build\prettyplease-d20c13f0a15424e5\build-script-build (never executed)

Caused by: Access is denied. (os error 5) warning: build failed, waiting for other jobs to finish... error: failed to compile soroban-cli v20.0.2, intermediate artifacts can be found at C:\Users\dy.cio\AppData\Local\Temp\cargo-installuDAHrA. To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

C:\Windows\System32>CARGO_TARGET_DIR 'CARGO_TARGET_DIR' is not recognized as an internal or external command, operable program or batch file.

solution for the error cargo install --locked --version 20.0.2 soroban-cli?

### Tasks

wais75 avatar Dec 21 '23 08:12 wais75