-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Description
v2.8.0-beta.5 (Aperant rebrand) fails to launch on macOS — the main process starts but no window appears. The app hangs indefinitely with a frozen event loop.
Root Cause
The app.asar in beta.5 is missing the @lydell/node-pty package (both JS wrapper and platform-specific native binary). The app.asar.unpacked directory is also completely absent.
v2.7.6 (working):
app.asarcontainsout/main/node_modules/@lydell/node-pty/(JS files)app.asar.unpackedcontainsout/main/node_modules/@lydell/node-pty-darwin-arm64/pty.node(native binary)
v2.8.0-beta.5 (broken):
app.asarhas NO@lydell/node-ptydirectory (onlylucide-reactin node_modules)app.asar.unpackeddirectory is completely MISSING
Since import * as pty from "@lydell/node-pty" is a static ESM import at the top of out/main/index.js, the module loading fails and blocks the Electron main process event loop. No window is ever created.
Additional Issue: Data Migration
The rename from auto-claude-ui to aperant user data directory includes a synchronous cpSync() migration at startup (line ~98364 in main/index.js). If the old directory exists, this runs on the main thread and can also block the UI.
Environment
- macOS 26.4 (25E5233c) ARM64
- Both v2.7.6 and beta.5 use Electron 40.0.0 / Chrome 144.0.7559.60
Steps to Reproduce
- Install v2.8.0-beta.5 on macOS ARM64
- Launch the app
- Process starts but no window appears
- Event loop is frozen (inspector connects but can't evaluate)
Workaround
Downgrade to v2.7.6 stable.
Metadata
Metadata
Assignees
Labels
Projects
Status