I am trying to build a Rust project and when I try to execute cargo build-bpf --manifest-path=contracts/solana/program/Cargo.toml --bpf-out-dir=dist/solana/program
in the terminal I got this error:
Can't get home directory path: environment variable not found
Any ideas about how to solve it?