subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

Cargo run command missing a flag

Open steffencruz opened this issue 1 year ago • 0 comments

Describe the bug

By following the README instructions for cargo run I get the following error:

root@b8032326feec:~/subtensor# cargo run  --release -- --dev
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package:   /root/subtensor/runtime/Cargo.toml
workspace: /root/subtensor/Cargo.toml
error: `cargo run` could not determine which binary to run. Use the `--bin` option to specify a binary, or the `default-run` manifest key.
available binaries: integration-tests, node-subtensor

So i added the flag --node-subtensor and things work

root@b8032326feec:~/subtensor# cargo run --release --bin node-subtensor -- --dev
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package:   /root/subtensor/runtime/Cargo.toml
workspace: /root/subtensor/Cargo.toml
    Updating git repository https://github.com/paritytech/substrate.git
    Updating crates.io index
       Fetch [==========>              ]  46.22%, (114640/474454) resolving deltas                                                                         ```


### To Reproduce

I followed the main README steps for linux

### Expected behavior

Everything should install as expected when following the instructions

### Screenshots

_No response_

### Environment

Linux ubuntu

### Additional context

_No response_

steffencruz avatar Mar 01 '24 16:03 steffencruz