Skip to content

Linux Desktop app fails to launch — Failed to load image iconTemplate.png #4058

@fcrooks

Description

@fcrooks

Description:
On Pop!_OS 24.04 (Omakub setup), the latest .deb package for Goose Desktop installs successfully but crashes immediately on launch with the following error:

Unhandled Rejection: Error: Failed to load image from path '/usr/local/lib/node_modules/electron/dist/resources/images/iconTemplate.png'
    at Tg (/home/<username>/goose-unpacked/…/main.js:285:940)
    at /home/<username>/goose-unpacked/…/main.js:301:11916

Replacing iconTemplate.png manually does not resolve the issue, suggesting the bug lies in main.js or packaging scripts.

Steps to Reproduce:

  1. Download latest .deb from Goose releases.
  2. Install on Pop!_OS 24.04:
sudo dpkg -i goose_*.deb
sudo apt --fix-broken install
  1. Attempt to launch via:
    /usr/lib/goose/goose
  2. Observe crash with missing iconTemplate.png error.

Expected Behavior:
The app should launch into the Goose Desktop GUI without requiring manual patching of assets.

Actual Behavior:
App fails to start due to missing image resource in Electron.

Environment:

OS: Pop!_OS 24.04 (Ubuntu Noble base)

Installation method: .deb package

Goose version: 1.3.0

Architecture: x86_64

Additional Notes:

Tested copying existing PNG assets into the missing path — same error persists.

CLI (goose session) works fine after goose configure.

Issue may be specific to Linux builds — possibly a packaging bug in the .asar extraction or icon handling code.

Metadata

Metadata

Assignees

Labels

p2Priority 2 - Mediumwaiting

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions