-
Notifications
You must be signed in to change notification settings - Fork 968
Open
Description
Windows: Daemon fails to start due to Unix socket path
Environment
- OS: Windows 10 Home China (10.0.19045)
- agent-browser version: 0.13.0
- Node.js version: v20.x
- Installation method:
npm install -g agent-browser
Description
The agent-browser daemon fails to start on Windows because it
attempts to use a Unix socket path
(C:\Users\MJSSG\.agent-browser\default.sock), which is not
natively supported by Windows.
Steps to Reproduce
- Install agent-browser globally:
npm install -g agent-browser - Install Chromium:
agent-browser install - Try to open any URL:
agent-browser open https://example.com
Expected Behavior
The daemon should start successfully and browser automation
commands should work.
Actual Behavior
✗ Daemon failed to start (socket:
C:\Users\MJSSG.agent-browser\default.sock)
The .agent-browser directory exists but is empty - no daemon log is created, indicating the daemon fails before it can even
initialize.
Root Cause
Windows does not natively support Unix domain sockets. The IPC
mechanism needs to use:
- Named pipes (Windows native IPC)
- TCP loopback connection
- Or a cross-platform abstraction layer
Possible Solutions
- Use a cross-platform IPC library that detects the OS and uses
appropriate mechanisms - For Windows, use named pipes like
\\.\pipe\agent-browser-default - Or allow configuration via environment variable to use TCP
instead
Workaround
Using Playwright directly works fine on the same system:
npm install -D @playwright/test
npx playwright install chromium
# Tests run successfully
Additional Context
- Multiple node.exe processes are running (likely from other
development tools)
- No daemon log file is created
- Socket file path format is Unix-style: / instead of Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels