Skip to content

Comments

🐛 fix(ci): Install dependencies directly in display directory to bypass workspace hoisting#155

Merged
trickpatty merged 1 commit intomainfrom
claude/fix-electron-global-builder-I7DQZ
Jan 25, 2026
Merged

🐛 fix(ci): Install dependencies directly in display directory to bypass workspace hoisting#155
trickpatty merged 1 commit intomainfrom
claude/fix-electron-global-builder-I7DQZ

Conversation

@trickpatty
Copy link
Owner

The previous approach (global electron-builder install) has known permission issues on GitHub Actions runners after version 20240403.1.0 (EACCES errors).

This fix uses the recommended approach: install dependencies directly in the display directory with --workspaces=false flag, which:

  • Bypasses npm workspace hoisting completely
  • Creates clients/display/node_modules/ with all dependencies
  • Ensures electron-builder can find app-builder-bin via normal module resolution
  • Follows best practices (npx electron-builder, not global install)

Changes for all platforms (Linux, Windows, macOS Intel, macOS ARM):

  • Install deps in ./clients/display with --workspaces=false --legacy-peer-deps
  • Verify platform-specific app-builder-bin binary exists
  • Use npx electron-builder instead of global command

…ss workspace hoisting

The previous approach (global electron-builder install) has known permission
issues on GitHub Actions runners after version 20240403.1.0 (EACCES errors).

This fix uses the recommended approach: install dependencies directly in the
display directory with --workspaces=false flag, which:
- Bypasses npm workspace hoisting completely
- Creates clients/display/node_modules/ with all dependencies
- Ensures electron-builder can find app-builder-bin via normal module resolution
- Follows best practices (npx electron-builder, not global install)

Changes for all platforms (Linux, Windows, macOS Intel, macOS ARM):
- Install deps in ./clients/display with --workspaces=false --legacy-peer-deps
- Verify platform-specific app-builder-bin binary exists
- Use npx electron-builder instead of global command
@trickpatty trickpatty merged commit 5dfc9fa into main Jan 25, 2026
12 checks passed
@trickpatty trickpatty deleted the claude/fix-electron-global-builder-I7DQZ branch January 25, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants