-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
This page lists common problems and the fastest checks.
Run:
node --version
npm --versionAgentDesk expects Node.js 20.19.0 or newer.
Try:
npx --yes --package=@papaplus/agentdesk agentdesk --port 5173If the port is busy, choose another port:
npx --yes --package=@papaplus/agentdesk agentdesk --port 5174From the repo:
npm install
npm run typecheck
npm test
npm run buildIf install fails, delete node_modules and reinstall. Keep package-lock.json unless you intentionally update dependencies.
Static hosted builds cannot spawn local processes. Runtime mode requires the packaged CLI:
npx --yes --package=@papaplus/agentdesk agentdesk --port 5173Then open Doctor and click Check runtime.
Check:
- Ollama is installed.
- Ollama is running.
-
http://127.0.0.1:11434is reachable. - The selected model is pulled locally.
- The workflow has model nodes with
provider: "ollama". - Run mode is
OllamaorRuntime.
Example:
ollama pull llama3.2Check:
- Provider is selected correctly.
- API key is valid.
- Model ID is valid for the provider/account.
- Browser-direct calls are allowed by provider CORS and organization policy.
- Matching model nodes exist in the selected workflow.
-
Apply to nodeswas clicked if you changed provider/model.
If browser-direct calls are blocked, this is expected for some environments. A production app should use a backend proxy.
Check:
- Runtime CLI is running.
- Run mode is
Runtime. - MCP config imports without parse errors.
- Server id in the node matches the imported config.
- The server command exists on PATH.
- The MCP server uses JSON-RPC correctly over stdio.
- The server does not print non-JSON logs to stdout.
- Error artifacts do not contain missing env/header key names.
Try the legacy adapter if needed:
AGENTDESK_MCP_ADAPTER=legacy-jsonrpc agentdesk --port 5173AgentDesk redacts common secrets, but it cannot guarantee that arbitrary text, screenshots, stdout, stderr, or model responses contain no sensitive content.
Before posting publicly:
- inspect exported JSON
- inspect ZIP contents
- remove sensitive screenshots
- redact customer data
- do not include API keys or tokens
For maintainers and contributors:
npm run typecheck
npm test
npm run build
npm run test:e2e
npm run smoke:package
npm run verify
npm pack --dry-run --ignore-scripts --json