When it refers to "I" it means Claude did :,)
Fresh global install on Windows. Install + cavemem status work. cavemem start fails:
cavemem start
cavemem error: spawn EFTYPE
Same error via cmd /c cavemem start and node dist/index.js start — not the shim. Hooks also never auto-start the worker (same error on every hook spawn).
Setup:
Windows 10 (native, no WSL)
Node v23.11.0
cavemem 0.1.3 (global npm)
Cause:
Worker spawn does spawn(resolveCliPath(), ["worker", "run"], ...) where resolveCliPath() returns the raw .js path. Windows CreateProcess can't exec .js directly (no shebang honoring) → EFTYPE. Three call sites in dist/index.js do this. Linux/macOS unaffected.
Suggested fix: spawn with process.execPath + script path, or pass { shell: true } on win32.
Possibly related to #3 both are Windows spawn/bundle issues.
When it refers to "I" it means Claude did :,)
Fresh global install on Windows. Install + cavemem status work. cavemem start fails:
Setup:
Windows 10 (native, no WSL)
Node v23.11.0
cavemem 0.1.3 (global npm)
Cause:
Worker spawn does spawn(resolveCliPath(), ["worker", "run"], ...) where resolveCliPath() returns the raw .js path. Windows CreateProcess can't exec .js directly (no shebang honoring) → EFTYPE. Three call sites in dist/index.js do this. Linux/macOS unaffected.
Suggested fix: spawn with process.execPath + script path, or pass { shell: true } on win32.
Possibly related to #3 both are Windows spawn/bundle issues.