inkdevhub/marketplace

ERROR: Cannot infer the root project id

Closed this issue · 5 comments

With this configuration, aren't we supposed to deploy contract from root directory using cargo contract build? rather it throws error.

Screenshot 2022-12-18 at 15 42 31

Since there are multiple contracts in the project you should build from a contract folder. This project is still under heavy development. After we merge #4 please check the project again.

➜  marketplace git:(main) cd contracts
➜  contracts git:(main) cargo contract build
ERROR: Loading Cargo.toml

Caused by:
    No such file or directory (os error 2)
➜  contracts git:(main)

@bobo-k2 is it possible to solve this issue?

it is blocker for me

@vikiival. From the project root do the following:

cd contracts
cd marketplace
cargo contract build