Post
Share your knowledge.
Mar 26, 2025
Expert Q&A
How to resolve 'Local version of dependency was not found' error in Sui?
I'm having trouble using an already published coin package in another Move contract. I'm getting an error indicating that the local version of dependency was not found. How can I resolve this issue?
- Move CLI
- Move
1
2
Share
Comments
Answers
2Theoremus251
Mar 27 2025, 05:30You can try running the command sui client publish --skip-dependency-verification
to bypass dependency checking. However, ensure that this approach aligns with your project's dependency management strategy.
2
Best Answer
Comments
Noro477459
Mar 27 2025, 03:44This error means that the local version of the dependency my_coin
is not aligned with the on-chain version. You should verify whether you are loading my_coin
through a Github link or local path in your Move.toml file.
2
Comments
Do you know the answer?
Please log in and share it.
Move is an executable bytecode language used to implement custom transactions and smart contracts.
148Posts231Answers

Reward CampaignJune
- ... SUIderiss+5
- ... SUIRamirez+5
- ... SUIElvin CLONE +5
- ... SUI
- ... SUI
- ... SUI
- ... SUIBritain+2
Bounty Posts