Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions install.sh
Original file line numberDiff line numberDiff line change
Expand Up@@ -813,6 +813,11 @@ main() {
info "Installing dependencies..."
npm install --quiet --no-fund --no-audit 2>/dev/null || npm install --no-fund --no-audit

# Rebuild node-pty from source for Node.js 22+ compatibility
# The prebuilt binaries may not support newer Node.js ABI versions
info "Rebuilding node-pty for current Node.js version..."
npm rebuild node-pty --build-from-source --quiet 2>/dev/null || npm rebuild node-pty --build-from-source

info "Building..."
npm run build --quiet 2>/dev/null || npm run build

Expand Down