sunshine-protocol / sunshine

Governance + Bounty Platform
Other
43 stars 16 forks source link

Unable to run Sunshine bounty node #150

Closed ltfschoen closed 4 years ago

ltfschoen commented 4 years ago

After running cargo build --release, when I then try to run the node I get error:

 ~/code/src/ltfschoen/sunshine-bounty   master  ./target/release/test-node --dev
2020-08-13 17:30:01 Running in --dev mode, RPC CORS has been disabled.
2020-08-13 17:30:01 Sunshine Node
2020-08-13 17:30:01 ✌️  version 0.1.0
2020-08-13 17:30:01 ❤️  by 4meta5, 2020-2020
2020-08-13 17:30:01 📋 Chain specification: Development
2020-08-13 17:30:01 🏷  Node name: dramatic-silk-9599
2020-08-13 17:30:01 👤 Role: AUTHORITY
2020-08-13 17:30:01 💾 Database: RocksDb at /Users/ls/Library/Application Support/test-node/chains/dev/db
2020-08-13 17:30:01 ⛓  Native runtime: sun-spec-1 (sun-time-1.tx1.au1)
Error: Service(Client(Backend("`with-kvdb-rocksdb` feature not enabled, database can not be opened")))

 ✘  ~/code/src/ltfschoen/sunshine-bounty   master  RUST_LOG=debug RUST_BACKTRACE=1 cargo run -- --dev
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: bounty-cli, test-node
4meta5 commented 4 years ago

You have to specify the binary because you have two binaries compiled bounty-cli and test-node. See the command syntax used here https://github.com/sunshine-protocol/sunshine-bounty/issues/153#issue-678811238 . That is for the second command.

The first command is a legit open issue. I'm getting it now.