Docs / HelpGUIDE 04
REA troubleshooting

Troubleshoot REA step by step

Check your environment, client registration, engine, and target in order. Narrow down one problem at a time and keep the actual diagnostic output.

Version pins and source links updated 2026-11-18 (Beijing time). Tutorial examples have not been rerun.

Your terminal reports rea: command not found

Using npx or running npm install rea-agents without --global does not necessarily add rea to your terminal PATH. Check command help with npx first.

For a global command matching this guide, run npm install --global rea-agents@5.0.0. If the command is still missing, check that the npm global executable directory is included in your current terminal PATH.

Terminal
npx -y rea-agents@5.0.0 --help

Setup succeeds, but REA tools are missing

Confirm that setup selected the client you are using and that you approved registration changes. Fully close and restart the client, then check the tools in a new session.

Use client diagnostics, as shown here for Codex. Installing a skill adds instructions; it does not prove the local MCP server is connected.

Terminal
npx -y rea-agents@5.0.0 doctor --client codex --json

Doctor returns healthy: false

Read each check to identify the failing client or provider. Overall readiness may fail because one engine is missing. Static JavaScript and native analysis have different prerequisites.

Fix the requirements for your actual target. Static JavaScript analysis does not require installing every native engine.

Installation reports an unsupported Node.js version

Check node --version. The pinned 5.0.0 package requires Node.js 22.x at 22.19.0 or later, 24.x at 24.11.0 or later, or stable 26+ releases. Versions 23, 25, and prereleases are unsupported. If you chose a newer REA release, check its published engines instead; the 5.0.0 minimums do not apply to every version.

If you upgraded but still see the error, check the Node.js path your terminal actually uses. A version manager and a system installation may resolve to different versions.

Terminal
node --version
npm --version
npm view rea-agents@5.0.0 engines --json

Results are missing or remain unknown

Check the path, input type, and completeness of the resources. Dynamic relationships, missing native extensions, or uncaptured runtime behavior may not be resolvable from static files alone.

Keep unknown results and list the evidence still needed. Missing observations do not prove that a feature is absent or that two implementations are equivalent.

The problem persists after updating

Confirm the REA version and client configuration using the installation guide, then reproduce the issue with the same input. If you deliberately upgrade, follow the matching release documentation. When reporting an issue, include the actual version, OS, target type, reproduction steps, and relevant errors.

Before sharing logs, check for local paths, private code, and credentials. Keep only what is needed to diagnose the issue. Do not publish app files you are not authorized to share.

Sources & version

This guide independently summarizes official documentation. It has not been verified against your environment or app. The official main branch may be ahead of the npm release.

Official REA 5.0.0 installation and diagnosticsOfficial FAQOfficial issue tracker
Next guide / GUIDE 05An independently maintained REA guide