dfx deploy
Deploying all canisters.
Creating canisters…
Creating canister AuctionManager…
Creating a wallet canister on the local network.
The wallet canister on the “local” network for user “default” is “bnz7o-iuaaa-aaaaa-qaaaa-cai”
AuctionManager canister created with canister id: bkyz2-fmaaa-aaaaa-qaaaq-cai
Creating canister AuctionTracking…
AuctionTracking canister created with canister id: bd3sg-teaaa-aaaaa-qaaba-cai
Creating canister CoffeeBean…
CoffeeBean canister created with canister id: be2us-64aaa-aaaaa-qaabq-cai
Creating canister CoffeeFarm…
CoffeeFarm canister created with canister id: br5f7-7uaaa-aaaaa-qaaca-cai
Creating canister Retailer…
Retailer canister created with canister id: bw4dl-smaaa-aaaaa-qaacq-cai
Creating canister Roasters…
Roasters canister created with canister id: b77ix-eeaaa-aaaaa-qaada-cai
Creating canister SmartPayment…
SmartPayment canister created with canister id: by6od-j4aaa-aaaaa-qaadq-cai
Building canisters…
Error: Failed while trying to deploy canisters.
Caused by: Failed to build all canisters.
Caused by: Failed while trying to build all canisters.
Caused by: Failed while trying to build all canisters in the canister pool.
Caused by: Failed to build dependencies graph for canister pool.
Caused by: The dependency analyzer failed: Found circular dependency: Retailer
anyone knows how to solve the issue ?
i fixed the issue about the circular dependency by creating interfaces and using them as modules instead of directly calling the canisters .