Skip to content

App can fail to start due to an error with Font Awesome Icons #3308

@dennisrijsdijk

Description

@dennisrijsdijk

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

in at least one case (though there are more unconfirmed cases), Firebot can hang on startup with the text "Loading channel rewards...". When the logs are consulted, the failing function is IconManager.loadFontAwesomeIcons

Expected Behavior

Firebot should not hang on startup

Steps To Reproduce

No response

Version

v5.64

What operating system are you using Firebot on?

Windows 11

Relevant log output

[2025-10-26 17:47:13.0737] - debug: [v5.64.0] Loaded channel rewards.
[2025-10-26 17:47:13.0912] - debug: [v5.64.0] Error on when ready step 
{
  message: 'Unexpected non-whitespace character after JSON at position 3 (line 1 column 4)',
  stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 3 (line 1 column 4)\n' +
    '    at JSON.parse (<anonymous>)\n' +
    '    at parseJSONFromBytes (node:internal/deps/undici/undici:5682:19)\n' +
    '    at successSteps (node:internal/deps/undici/undici:5663:27)\n' +
    '    at fullyReadBody (node:internal/deps/undici/undici:4561:9)\n' +
    '    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
    '    at async consumeBody (node:internal/deps/undici/undici:5672:7)\n' +
    '    at async IconManager.loadFontAwesomeIcons (C:\\Users\\kalak\\AppData\\Local\\firebot\\app-5.64.0\\resources\\app\\build\\backend\\common\\icon-manager.js:22:34)\n' +
    '    at async exports.whenReady (C:\\Users\\kalak\\AppData\\Local\\firebot\\app-5.64.0\\resources\\app\\build\\backend\\app-management\\electron\\events\\when-ready.js:193:5)'
}

Contact Details (Optional)

original report in discord: pandoramacabra

discord thread

Metadata

Metadata

Assignees

No one assigned

    Labels

    Release PendingIssue has been resolved and is waiting to be packaged as part of a release

    Type

    Projects

    Status

    Release Pending

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions