mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 17:02:01 -05:00
[GH-ISSUE #16618] issue: Kokoro Browser-based TTS doesn't work on macOS #17978
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fdstevex on GitHub (Aug 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16618
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.22
Ollama Version (if applicable)
n/a
Operating System
macOS 26
Browser (if applicable)
Safari
Confirmation
README.md.Expected Behavior
Expected behaviour:
Actual Behavior
[Error] Unhandled Promise Rejection: TypeError: undefined is not a function (near '...x of w...')
(anonymous function) (2.f9LfW7pL.js:2824:729544)
(anonymous function) (2.f9LfW7pL.js:2824:729619)
(anonymous function) (2.f9LfW7pL.js:2824:729620)
(anonymous function) (2.f9LfW7pL.js:2824:729687)
Module Code (2.f9LfW7pL.js:2824:746127)
Steps to Reproduce
Using macOS 26, where Safari has WebGPU enabled, and open-webui v0.6.22.
I'm trying to use the browser-based TTS via Kokoro. Enabled this in TTS Settings by setting Text-to-Speech Engine to "Kokoro.js (Browser)".
To test:
The browser console will have this error:
[Error] Unhandled Promise Rejection: TypeError: undefined is not a function (near '...x of w...')
(anonymous function) (2.f9LfW7pL.js:2824:729544)
(anonymous function) (2.f9LfW7pL.js:2824:729619)
(anonymous function) (2.f9LfW7pL.js:2824:729620)
(anonymous function) (2.f9LfW7pL.js:2824:729687)
Module Code (2.f9LfW7pL.js:2824:746127)
Safari in macOS 26 enables WebGPU support by default, but this can also be tested in the latest non-beta macOS by enabling WebGPU in Feature Flags.
Logs & Screenshots
[Error] Unhandled Promise Rejection: TypeError: undefined is not a function (near '...x of w...')
(anonymous function) (2.f9LfW7pL.js:2824:729544)
(anonymous function) (2.f9LfW7pL.js:2824:729619)
(anonymous function) (2.f9LfW7pL.js:2824:729620)
(anonymous function) (2.f9LfW7pL.js:2824:729687)
Module Code (2.f9LfW7pL.js:2824:746127)
Additional Information
Kokoro does work in Safari in other applications; here's a page that loads it and lets you run TTS in the browser where it can be tested:
https://voice-generator.pages.dev
@fdstevex commented on GitHub (Aug 14, 2025):
(I didn't include Docker log since this is all client side; let me know if you need it).
@tjbck commented on GitHub (Aug 14, 2025):
Unable to reproduce from our end (tested with m1 max), keep us updated!