Skip to content

Troubleshooting

Toshon edited this page Jun 20, 2026 · 1 revision

Troubleshooting

Common Issues

Blank screen on startup

Check the renderer log:

cat ~/Library/Application\ Support/Perci/renderer.log

(Location varies by platform. The path is logged on startup.)

Port 5173 already in use

Another Vite dev server is running. Kill it:

lsof -iTCP:5173 -sTCP:LISTEN
kill <PID>

Port 3001/3002 already in use

Another terminal server is running. Check:

lsof -iTCP:3001 -sTCP:LISTEN
lsof -iTCP:3002 -sTCP:LISTEN

Electron IPC methods not working

If window.electron.* methods exist but silently fail, the preload is stale. Restart the Electron app completely — Vite HMR does not reload the preload.

Garbled terminal output

If you see doubled echo or stacked prompts, the terminal has a double-socket bug. This was fixed in a recent version — update to the latest. If it persists, check that only one Terminal component is mounted per session.

OpenClaw dashboard shows "Gateway offline"

  1. Make sure OpenClaw is installed: which openclaw
  2. Start the gateway: openclaw gateway start
  3. Check: openclaw gateway status
  4. The gateway runs on port 18789 by default

Hermes dashboard not loading

  1. Make sure Hermes is installed: which hermes
  2. Start the dashboard: hermes dashboard
  3. The dashboard runs on port 9119

Build fails

rm -rf node_modules
npm install
npm run build

Window positions lost after update

Window geometry is stored in localStorage. If the viewport size changed significantly (e.g., different monitor), windows may appear off-screen. Clear localStorage or use the Dashboard to re-open windows.


FAQ

Q: Does Perci work without OpenClaw? A: Yes. All core features work without OpenClaw. See OpenClaw for details.

Q: Does Perci work without Hermes? A: Yes. Hermes is a separate integration. See Hermes.

Q: Can I use Perci in the browser? A: Yes — npm run dev starts the web version. You lose Electron-specific features (terminal, webviews, native file access).

Q: Where are API keys stored? A: In localStorage (web) or Electron safeStorage (desktop). Never sent to any server.

Q: Where are notes stored? A: As .md files on disk in a configurable workspace directory. Encrypted notes use .enc.md.

Q: How do I report a bug? A: Open an issue at https://github.com/toshon-jennings/perci/issues

Clone this wiki locally