Move.

Post

Share your knowledge.

LargeCappWithTwo.
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

2
Theoremus.
Mar 27 2025, 05:30

You 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
.
Noro4774.
Mar 27 2025, 03:44

This 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
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

Reward CampaignJune
We use cookies to ensure you get the best experience on our website.
More info