Move.

Post

Share your knowledge.

BlueEyedCrypto.
Apr 04, 2025
Expert Q&A

How to fix 'Unbound module' error for deployed Move package?

I'm using the router_addr package and trying to call a function from my new package. Despite it being deployed on the network, I'm getting an error saying Unbound module 'router_addr::router'. How do I resolve this error?

  • Move CLI
0
2
Share
Comments
.

Answers

2
DuAn.
Apr 4 2025, 15:38

However, it's important to note that the published-at field should be filled with the latest address of your own package ID and should not be used for external packages. Use the [addresses] section to specify external package addresses.

0
Comments
.
Michelle .
Apr 4 2025, 20:45

You should add published-at = "<your_package_id>" in your dependency's move.toml file. This helps in pointing to the correct package during compilation.

0
Comments
.

Do you know the answer?

Please log in and share it.

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