Hello. I am looking for answers. I am setting up a node and I cannot seems to get past the Cargo Install --path .
Yes, I've tried using Sudo Cargo Install --path .
but that didn't solve it. I've tried uninstalling Rust and Cargo and reinstall, no success. I've reinstalled the OS but the same message pops up.
So the initial errors were: failed to compile 'snarkos v2.0.2 (/home/ubuntu/snarkOS), intermediate artifacts can be found at ...snarkOS/target
Caused by: failed to open: /home/.../release/.cargo-lock
Caused by: Permission denied (os error 13).
So then I tried running Sudo Cargo Install --path .
And the errors were:
failed to load manifest for workspace member '/home/../snarkOS/account'
Caused by: failed to parse manifest at '/home/../account/Cargo.toml'
feature 'workspace-inheritance' is required.
The package requires the Cargo feature called 'workspace-inheritance', but that feature is not stabilized in this version of Cargo (1.61.0). Consider adding 'cargo-features= ["workspace-inheritance"] to the top of Cargo.toml to tell Cargo you are opting in to use this unstable feature.
I tried just using Cargo Build --release
but it just gave me a permission denied(os error 13)
So then I nano the Cargo.toml and added the feature at the top of it with: cargo-features = ["workspace-inheritance"]
and then ran sudo cargo install --path .
and I got more errors:
Failed to load manifest for workspace member '/home/../account'
Caused by: failed to parse manifest at '/home/ubuntu/../Cargo.toml'
Caused by: error reading 'dependencies.snarkvm' from workspace root manifest's 'workspace.dependencies.snarkvm'
Caused by: inheriting from a parent workspace is not implemented yet.
So this is where I am stuck at. I cannot run the cargo install --path or sudo cargo install --path or cargo build --release. I've tried reinstalling the OS, uninstall and reinstall rust and cargo. I did see some warning msg when installing rust however. It said, it looks like you have an existing installation of Rust at /usr/bin....But I even uninstall the rust in the /usr/bin and can't move forward with the cargo install.
Any help or advice or recommendations, I'd would be grateful. Thank you.