Skip to main content
This page applies to common startup and unresponsive-app issues in current MiniMax Code versions. Windows clients after 3.0.48 no longer depend on OpenCode, so troubleshooting steps for older OpenCode / daemon behavior are not used as the basis for current versions.

Startup Failure - Type 1

If you see utility exited before ready (code=9) during startup, this currently affects some macOS x64 (Intel) users.
MiniMax Code startup failure type 1 example
Workaround: download and reinstall the macOS Intel x64 v3.1.1 build.

Windows Browser Launch Failure

If Desktop login shows Failed to open: 找不到应用程序。 (0x800401F5) or returns no_default_browser, Windows usually does not have a usable default browser or the browser association is broken. Workaround:
  1. Install a browser such as Edge or Chrome.
  2. Set it as the Windows default browser.
  3. Restart MiniMax Code and try again.
If it still fails, reassign the Windows web browser association in Default apps and retry. You can also open the login page directly in your browser: https://agent.minimax.io/login?sso=1

General Issues

MiniMax Code fails to start

If MiniMax Code shows a startup error, first check whether the issue is caused by an older installer.
MiniMax Code startup error example
Startup issues caused by official packaging builds have been fixed in newer versions. Download the latest official installer and reinstall MiniMax Code.

MiniMax Code is not responding

If the app freezes, a request stays pending for a long time, or the page stops producing output, check the following in order:
  1. Confirm that your network connection is working.
  2. If you installed the Mainland China version and the issue looks like a timeout, check whether your computer is connected to a proxy.
  3. Check the service status indicator at the bottom of the app.
  4. Fully quit and restart the app.
  5. If the issue continues, upload logs from Settings and contact support.

MiniMax Code service fails to start

If you see a “service startup failed” dialog, first check for leftover processes, then check whether .mavis and .minimax exist and look valid in the current user’s home directory.

End leftover processes first

Windows:
  1. Open Task Manager.
  2. Search for minimax.
  3. End the related processes.
  4. Wait about 10 seconds.
  5. Restart the app.
macOS:
  1. Open Activity Monitor.
  2. Search for minimax.
  3. Force quit the related processes.
  4. Wait about 10 seconds.
  5. Restart the app.

Check user data directories

If the service still fails to start after restarting, check .mavis and .minimax under the current user’s home directory. Windows PowerShell:
macOS Terminal:
If either directory is missing, empty, clearly corrupted, or contains abnormal data, back it up first, then delete .mavis and .minimax and restart the app.

Back up and delete data directories

Windows PowerShell:
macOS Terminal:
Back up the directories before deleting them. .mavis and .minimax may contain local settings, cache data, or session-related data.
Restart the app after deletion. MiniMax Code will regenerate the required data directories. If the issue still continues, upload logs from Settings and contact support.

The login button does not respond

The login redirect may be blocked by a proxy or system policy. Open the login link directly in your browser: After logging in, choose to open the MiniMax Code app.

Windows Issues

The window flashes and exits after double-clicking

A common verified cause is abnormal ACL permissions in the Windows installation directory, which prevents the Chromium / Electron renderer sandbox from starting. Typical signals:

Temporary confirmation

Start the app from PowerShell with --no-sandbox:
If the app opens with --no-sandbox but exits when launched normally, the issue is likely in the Chromium renderer sandbox permission chain.
Use --no-sandbox only for temporary verification or temporary access. It is not recommended for long-term use because it weakens Electron renderer security isolation.

Fix

Repair the installation directory ACL, then start the app normally:
Parameter reference: If MiniMax Code is installed in another directory, replace the path in the command. For example:

macOS Issues

render-process-gone on startup (exitCode=5)

After starting the app, you may see a “Page encountered an error” dialog with the following details:
macOS startup error dialog showing render-process-gone, crashed, and exitCode=5 (Chinese UI)

One confirmed cause: system version compatibility mode

In a case involving macOS 12.7.6 and MiniMax Code 3.0.74, crash dumps confirmed that app subprocesses read the compatibility version 10.16.0, triggered Chromium’s system version check, and exited. Both the page process and the local service process may fail during startup in this situation. SYSTEM_VERSION_COMPAT controls macOS system version compatibility behavior. When set to 1, relevant system interfaces may return a compatibility version for older software; setting it to 0 disables this behavior. The variable’s actual value and configuration source have not been confirmed in this case, and the user has not yet reported the result of disabling compatibility mode on the affected machine.
exitCode=5 alone does not identify the cause. The steps below help investigate system version compatibility issues; other crashes still require logs and crash dumps to diagnose.

Start with a one-time launch comparison

  1. Quit MiniMax Code completely. If any processes remain, identify and end only those belonging to the app in Activity Monitor.
  2. Open Terminal and explicitly disable compatibility mode for this launch:
    Replace the path if the app is installed elsewhere. Keep Terminal open while observing the startup result. This setting applies only to this launch and its child processes; it does not change system configuration or delete app data.
  3. If the app starts successfully, check where SYSTEM_VERSION_COMPAT=1 is set in the original launch environment, such as shell configuration, a launch script, or the login session environment. Prefer removing or adjusting that source. Preserve the original configuration until its purpose is understood, as older software may depend on compatibility mode.

Disable compatibility mode for the current user’s login session

If the one-time comparison works and you also want to use this setting when launching from Finder or the Dock, follow these steps in Terminal. No sudo is required. First, query and record the original value. No output usually means the variable is not set in this login session:
Then set and query it. The second command should print 0:
Quit the app completely and start it again. The setting affects subsequent processes that inherit this environment; existing processes are not updated. Terminal and graphical launches may use different environments, and shell configuration or launch scripts may override the variable. The setting is not guaranteed to persist after logout or restart. For a lasting change, locate and adjust the original configuration source.
This setting applies to the current user’s login session and may affect other apps launched in the same environment. Older software that depends on compatibility version numbers may be affected. It is not a permanent or all-users system-wide setting.
To undo the change: if the variable was originally unset, run launchctl unsetenv SYSTEM_VERSION_COMPAT. If it had a value, restore it with launchctl setenv SYSTEM_VERSION_COMPAT ORIGINAL_VALUE, replacing ORIGINAL_VALUE with the recorded value. Then quit and restart the affected apps completely.

If the app still crashes

Do not clear app data based solely on this error code. Click “Upload logs” in the dialog (or upload from Settings if accessible), and provide support with the Upload ID, app version, macOS version, launch method, and the one-time launch comparison result. If crash dumps are needed, follow support’s instructions. Do not publish raw logs or dumps publicly.

Startup or service abnormalities

For the render-process-gone error above, start with its dedicated section. For other macOS startup or service issues, follow “MiniMax Code service fails to start” under General Issues: end related minimax processes in Activity Monitor, then check, back up, and delete ~/.mavis and ~/.minimax if needed before restarting the app.

Upload logs

If support needs to investigate further, upload logs from app Settings and include the following information: