Skip to content

Desktop build fails on Linux with electron error #56834

Description

@larroy

🐛 Bug: Desktop build fails on Linux with electron error

🔍 Overview

  • Issue: hermes desktop fails during build on Linux:

🧪 Reproduction Steps

  1. On Linux (Ubuntu 24.04-based system), run:
    hermes desktop

📝 Environment Details

Component Value
OS Linux 6.17.0-29-generic
Node.js v22.23.1
npm 10.9.8
Hermes version 0.15.1
Working directory /home/piotr/.hermes/hermes-agent/apps/desktop

📚 Additional Notes

  • The user's Node version (v22.23.1) is within the supported range (^20.19.0 || >=22.12.0)
  • The cross-env package version is ^10.1.0, the latest stable release
  • The error occurs during both initial installation and rebuild attempts
  • The system has Python 3.12.3 available for node-gyp

Status: This issue should be treated as high priority as it blocks desktop app installation for Linux users

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/cliCLI entry point, hermes_cli/, setup wizardcomp/desktopElectron desktop app (apps/desktop/*)needs-reproBug needs reproduction stepssweeper:implemented-on-mainSweeper: behavior already present on current maintype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions