Skip to content

[Bug]: Mac Install Failure #39332

@ramk18

Description

@ramk18

Bug Description

Hermes Desktop Installer (Mac OS) Fails with this error:

hermes@0.15.1 pack
npm run build && npm run builder -- --dir

hermes@0.15.1 build
node scripts/assert-root-install.cjs && node scripts/write-build-stamp.cjs && node scripts/stage-native-deps.cjs && tsc -b && vite build

[write-build-stamp] wrote apps/desktop/build/install-stamp.json -> 1eeb7da (main)
[stage-native-deps] build/native-deps/node-pty: 22 files
src/app/chat/composer/hooks/use-slash-completions.ts:19:3 - error TS2411: Property 'rawText' of type 'string | undefined' is not assignable to 'string' index type 'string'.

19 rawText?: string
~~~~~~~

Found 1 error.

npm error Lifecycle script build failed with error:
npm error code 1
npm error path /Users/xxxx/.hermes/hermes-agent/apps/desktop
npm error workspace hermes@0.15.1
npm error location /Users/xxxx/.hermes/hermes-agent/apps/desktop
npm error command failed
npm error command sh -c node scripts/assert-root-install.cjs && node scripts/write-build-stamp.cjs && node scripts/stage-native-deps.cjs && tsc -b && vite build
npm error Lifecycle script pack failed with error:
npm error code 1
npm error path /Users/xxxx/.hermes/hermes-agent/apps/desktop
npm error workspace hermes@0.15.1
npm error location /Users/xxxx/.hermes/hermes-agent/apps/desktop
npm error command failed
npm error command sh -c npm run build && npm run builder -- --dir

Steps to Reproduce

Download Hermes Mac Installer and Click Install.
Fails to install.

Expected Behavior

The Installation should be done without failure

Actual Behavior

hermes@0.15.1 pack
npm run build && npm run builder -- --dir

hermes@0.15.1 build
node scripts/assert-root-install.cjs && node scripts/write-build-stamp.cjs && node scripts/stage-native-deps.cjs && tsc -b && vite build

[write-build-stamp] wrote apps/desktop/build/install-stamp.json -> 1eeb7da (main)
[stage-native-deps] build/native-deps/node-pty: 22 files
src/app/chat/composer/hooks/use-slash-completions.ts:19:3 - error TS2411: Property 'rawText' of type 'string | undefined' is not assignable to 'string' index type 'string'.

19 rawText?: string
~~~~~~~

Found 1 error.

npm error Lifecycle script build failed with error:
npm error code 1
npm error path /Users/xxxx/.hermes/hermes-agent/apps/desktop
npm error workspace hermes@0.15.1
npm error location /Users/xxxx/.hermes/hermes-agent/apps/desktop
npm error command failed
npm error command sh -c node scripts/assert-root-install.cjs && node scripts/write-build-stamp.cjs && node scripts/stage-native-deps.cjs && tsc -b && vite build
npm error Lifecycle script pack failed with error:
npm error code 1
npm error path /Users/xxxx/.hermes/hermes-agent/apps/desktop
npm error workspace hermes@0.15.1
npm error location /Users/xxxx/.hermes/hermes-agent/apps/desktop
npm error command failed
npm error command sh -c npm run build && npm run builder -- --dir

Affected Component

Setup / Installation

Messaging Platform (if gateway-related)

No response

Debug Report

> hermes@0.15.1 pack
> npm run build && npm run builder -- --dir


> hermes@0.15.1 build
> node scripts/assert-root-install.cjs && node scripts/write-build-stamp.cjs && node scripts/stage-native-deps.cjs && tsc -b && vite build

[write-build-stamp] wrote apps/desktop/build/install-stamp.json -> 1eeb7da2e6e5 (main)
[stage-native-deps] build/native-deps/node-pty: 22 files
src/app/chat/composer/hooks/use-slash-completions.ts:19:3 - error TS2411: Property 'rawText' of type 'string | undefined' is not assignable to 'string' index type 'string'.

19   rawText?: string
     ~~~~~~~


Found 1 error.

npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /Users/xxxx/.hermes/hermes-agent/apps/desktop
npm error workspace hermes@0.15.1
npm error location /Users/xxxx/.hermes/hermes-agent/apps/desktop
npm error command failed
npm error command sh -c node scripts/assert-root-install.cjs && node scripts/write-build-stamp.cjs && node scripts/stage-native-deps.cjs && tsc -b && vite build
npm error Lifecycle script `pack` failed with error:
npm error code 1
npm error path /Users/xxxx/.hermes/hermes-agent/apps/desktop
npm error workspace hermes@0.15.1
npm error location /Users/xxxx/.hermes/hermes-agent/apps/desktop
npm error command failed
npm error command sh -c npm run build && npm run builder -- --dir

Operating System

MacOS 26.5

Python Version

No response

Hermes Version

No response

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/cliCLI entry point, hermes_cli/, setup wizardjavascriptPull requests that update javascript codetype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions