[Video Downloader] Verbose warning appears in UI
Extension
https://www.raycast.com/vimtor/video-downloader
Raycast Version
1.104.6
OS Version
macOS 26.3 (25D125)
Description
Not sure if this is intentional, or the best place to put this kind of warning, but it's not where I would expect it to be. I might expect a toast with a warning, with the ability to hit ⌘-T to read the warning, and then copy it.
Steps To Reproduce
- Attempt to download a video (like this one) where a JS runtime is needed (might this be ALL downloads??)
- See large warning in Raycast UI:
WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIMEI:PATH] to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See https://github.com/yt-dlp/yt-dlp/wiki/EJS
for details on installing one
Current Behaviour
- Attempt to download a video where a JS runtime is needed (might this be ALL downloads??)
- See large warning in Raycast UI:
WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIMEI:PATH] to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See https://github.com/yt-dlp/yt-dlp/wiki/EJS
for details on installing one
Expected Behaviour
I expect a toast with a summary of the warning, with the ability to hit ⌘-T to read the warning, and then copy it.
Furthermore, the error that appears should be user-actionable. It's not clear from this error if I should "add --js-runtimes RUNTIMEI:PATH] to your command/config", and if I should, how I should do that, or whether that's even compatible with Raycast.
Thank you for opening this issue!
🔔 @vimtor @pernielsentikaer @darmiel @ridemountainpig @remorses @LitoMore @anwarulislam @yusifaliyevpro @xilopaint you might want to have a look.
💡 Author and Contributors commands
The author and contributors of vimtor/video-downloader can trigger bot actions by commenting:
@raycastbot close this issueCloses the issue.@raycastbot close as not plannedCloses the issue as not planned.@raycastbot close as duplicateCloses the issue as duplicate.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.
This is more than a warning-presentation issue: it can leave yt-dlp without the JavaScript runtime that YouTube extraction now expects, so moving or hiding the warning would not restore potentially missing formats.
I reproduced it with:
- macOS 15.7.8 (x86_64)
- Raycast 1.104.25
- Homebrew 6.0.18-25-g7f20cce
- yt-dlp 2026.08.19 at
/usr/local/bin/yt-dlp - Deno 2.9.5 at
/usr/local/bin/deno
The extension was already configured with the absolute yt-dlp path, so yt-dlp itself launched successfully. However, it could not discover Deno from the Raycast helper environment. A minimal equivalent run with HOME=/Users/ragtime and PATH=/usr/bin:/bin reported:
[debug] JS runtimes: none
[debug] [youtube] [jsc] JS Challenge Providers: bun (unavailable), deno (unavailable), node (unavailable), quickjs (unavailable)
WARNING: [youtube] No supported JavaScript runtime could be found...
Adding the officially supported absolute runtime path to the recommended yt-dlp user config fixed it:
# ~/.config/yt-dlp/config
--js-runtimes deno:/usr/local/bin/deno
The same metadata invocation then reported:
[debug] User config "/Users/ragtime/.config/yt-dlp/config": ["--js-runtimes", "deno:/usr/local/bin/deno"]
[debug] JS runtimes: deno-2.9.5
[debug] [youtube] [jsc] JS Challenge Providers: bun (unavailable), deno, node (unavailable), quickjs (unavailable)
The missing-runtime warning was gone.
yt-dlp documents that when the runtime is not available through PATH, its executable path should be supplied as --js-runtimes deno:/path/to/deno: https://github.com/yt-dlp/yt-dlp/wiki/EJS
Current video-downloader preferences expose paths for Homebrew, yt-dlp, ffmpeg, and ffprobe, but not Deno:
https://github.com/raycast/extensions/blob/ae19453cbf1865b85bf9c5d63a48e887f8925ff1/extensions/video-downloader/package.json
Also, the shared getCommonArgs() does not pass --js-runtimes, although it is used by metadata, download, and transcript invocations:
https://github.com/raycast/extensions/blob/ae19453cbf1865b85bf9c5d63a48e887f8925ff1/extensions/video-downloader/src/utils.ts#L232-L247
A root fix could use one shared Deno resolver:
- Honor an optional user-configured Deno path.
- Check for
denonext to the resolved yt-dlp executable. - On macOS, fall back to both
/opt/homebrew/bin/denoand/usr/local/bin/deno. - When found, add
--js-runtimes deno:<absolute-path>ingetCommonArgs(), so UI metadata, downloads, AI tools, and transcripts behave consistently.
#17667 is related as another instance of the extension assuming Homebrew paths that are not available in the Raycast GUI environment, but this Deno warning is the direct symptom tracked here.