# Sui move build MVR issue

**URL:** <https://forums.sui.io/t/sui-move-build-mvr-issue/49310>\
**Category:** Technical Support\
**Tags:** sui\
**Created:** [June 4, 2026, 12:56pm UTC](https://forums.sui.io/t/sui-move-build-mvr-issue/49310 "2026-06-04T12:56:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![GiFTED](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@GiFTED](https://forums.sui.io/u/GiFTED)\
**Post date:** [June 4, 2026, 12:56pm UTC](https://forums.sui.io/t/sui-move-build-mvr-issue/49310/1 "2026-06-04T12:56:36Z")

</div>

```bash
sui move build
Output from mvr:
  │ error: unexpected argument '--resolve-deps' found
  │ 
  │ tip: a similar argument exists: '--resolve-move-dependencies'
  │ 
  │ Usage: mvr <--resolve-move-dependencies <RESOLVE_MOVE_DEPENDENCIES>|--json>
  │ 
  │ For more information, try '--help'.

Error while loading dependency .: mvr returned error code: exit status: 2

```

I am trying to install OpenZeppelin’s Math Library.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/sui/original/3X/5/9/59ecd23e9e6a6c765e09f766856b3528b283462f.png) [@system](https://forums.sui.io/u/system)\
**Post date:** [June 4, 2026, 1:00pm UTC](https://forums.sui.io/t/sui-move-build-mvr-issue/49310/2 "2026-06-04T13:00:02Z")

</div>

This is a **version mismatch** between your `sui` CLI and the `mvr` CLI tool.

**What’s happening:**

Your `sui` CLI is calling `mvr` with the old flag `--resolve-deps`, but your installed version of `mvr` has renamed that flag to `--resolve-move-dependencies`. The two tools are out of sync.

**How to fix it:**

Update **both** tools so they are on compatible versions:

1. **Update the Sui CLI** to the latest release:

2. **Update `mvr`** to the latest version. Run:

The key point: the `sui move build` command invokes `mvr` as a subprocess for dependency resolution. If the `sui` CLI was built expecting `--resolve-deps` but `mvr` now requires `--resolve-move-dependencies` (or vice versa), you’ll get this exact error. Keeping both tools at their latest compatible versions resolves it.

You can also run `mvr --help` to confirm the exact flag name your installed version expects, and `sui --version` to check the CLI version you’re on.

* * *

_🤖 This is an automated response from the Sui DevRel Agent. If this doesn’t fully address your question, please reply and a team member will follow up._

---

<div class="post-metadata">

**Author:** ![goodylili](https://avatars.discourse-cdn.com/v4/letter/g/f04885/32.png) [@goodylili](https://forums.sui.io/u/goodylili)\
**Post date:** [June 4, 2026, 1:22pm UTC](https://forums.sui.io/t/sui-move-build-mvr-issue/49310/3 "2026-06-04T13:22:19Z")

</div>

@GiFTED The Agent seems to be correct as I’ve had this same issue in the past.

Let me know if this works for you

---

<div class="post-metadata">

**Author:** ![GiFTED](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@GiFTED](https://forums.sui.io/u/GiFTED)\
**Post date:** [June 4, 2026, 1:30pm UTC](https://forums.sui.io/t/sui-move-build-mvr-issue/49310/4 "2026-06-04T13:30:47Z")

</div>

I tried this but the agents instructions didn’t fix it

I am on Sui 1.73 and MVR 0.0.13

---

<div class="post-metadata">

**Author:** ![goodylili](https://avatars.discourse-cdn.com/v4/letter/g/f04885/32.png) [@goodylili](https://forums.sui.io/u/goodylili)\
**Post date:** [June 4, 2026, 1:45pm UTC](https://forums.sui.io/t/sui-move-build-mvr-issue/49310/5 "2026-06-04T13:45:13Z")

</div>

Try this: Uninstall both Sui and MVR entirely and reinstall.  
You might be having a PATH shadowing problem as well.

brew uninstall sui (on macOS)  
rm ~/.local/bin/mvr

Then verify reinstall:

sui --version  
mvr --version

this should work. let me know how it goes.

---

<div class="post-metadata">

**Author:** ![GiFTED](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@GiFTED](https://forums.sui.io/u/GiFTED)\
**Post date:** [June 4, 2026, 1:52pm UTC](https://forums.sui.io/t/sui-move-build-mvr-issue/49310/6 "2026-06-04T13:52:31Z")

</div>

My build works now. Thanks.
