[GH-ISSUE #6999] yt-dlp: No supported JavaScript runtime could be found (deno) #3448

Closed
opened 2026-05-05 10:00:23 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @hyder365 on GitHub (Dec 23, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6999

Description

Since recently, yt-dlp pulls in a javascript engine to download Youtube videos. By default it uses deno for this. The profile for yt-dlp needs access to deno if installed for javascript.

Steps to Reproduce

firejail yt-dlp URL-HERE

Expected behavior

No warnings

Actual behavior

WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIME[: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

Environment

Arch Linux, latest everything

Checklist

  • I am using firejail 0.9.76 or later
  • I am using the full program path (e.g. firejail /usr/bin/vlc instead of firejail vlc; see https://github.com/netblue30/firejail/issues/2877)
  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)
Originally created by @hyder365 on GitHub (Dec 23, 2025). Original GitHub issue: https://github.com/netblue30/firejail/issues/6999 <!-- See the following links for help with formatting: https://guides.github.com/features/mastering-markdown/ https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax --> ### Description Since recently, yt-dlp pulls in a javascript engine to download Youtube videos. By default it uses deno for this. The profile for yt-dlp needs access to deno if installed for javascript. ### Steps to Reproduce firejail yt-dlp URL-HERE ### Expected behavior No warnings ### Actual behavior > WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIME[: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 ### Environment Arch Linux, latest everything ### Checklist <!-- Note: Items are checked with an "x", like so: - [x] This is a checked item. --> - [x] I am using firejail [0.9.76 or later](https://github.com/netblue30/firejail/tree/master/SECURITY.md) - [x] I am using the full program path (e.g. `firejail /usr/bin/vlc` instead of `firejail vlc`; see `https://github.com/netblue30/firejail/issues/2877`) - [x] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [x] I can reproduce the issue without custom modifications (e.g. globals.local). - [x] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [x] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [x] I have performed a short search for similar issues (to avoid opening a duplicate). - [x] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [x] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages)
gitea-mirror 2026-05-05 10:00:23 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@dogknowsnx commented on GitHub (Jan 7, 2026):

Not sure that deno/java is the problem here.

I need to add the following in order to get past python-related errors ever since yt-dlp v2025.12.08:

yt-dlp.local:

noblacklist /usr/lib/python*/*
whitelist /usr/lib/python*/*

But I still haven't figured out:

$ yt-dlp help
Error: Cannot start application: No such file or directory

firejail version 0.9.79 on Void Linux

<!-- gh-comment-id:3719341088 --> @dogknowsnx commented on GitHub (Jan 7, 2026): Not sure that deno/java is the problem here. I need to add the following in order to get past python-related errors ever since `yt-dlp` v2025.12.08: `yt-dlp.local`: ``` noblacklist /usr/lib/python*/* whitelist /usr/lib/python*/* ``` But I still haven't figured out: ``` $ yt-dlp help Error: Cannot start application: No such file or directory ``` `firejail version 0.9.79` on Void Linux
Author
Owner

@netblue30 commented on GitHub (Jan 13, 2026):

Possible fix: f2de86464d

Tested on void (musl libc) and cachyos. Give it a try, thanks!

<!-- gh-comment-id:3744826614 --> @netblue30 commented on GitHub (Jan 13, 2026): Possible fix: https://github.com/netblue30/firejail/commit/f2de86464d270d0ff933ed095f2965afcfc2f4e7 Tested on void (musl libc) and cachyos. Give it a try, thanks!
Author
Owner

@dogknowsnx commented on GitHub (Jan 13, 2026):

Possible fix: f2de864

Tested on void (musl libc) and cachyos. Give it a try, thanks!

Thanks for looking into this.

W/ the proposed changes I still get:

$ yt-dlp --help --verbose
Error: Cannot start application: No such file or directory
<!-- gh-comment-id:3745226609 --> @dogknowsnx commented on GitHub (Jan 13, 2026): > Possible fix: [f2de864](https://github.com/netblue30/firejail/commit/f2de86464d270d0ff933ed095f2965afcfc2f4e7) > > Tested on void (musl libc) and cachyos. Give it a try, thanks! Thanks for looking into this. W/ the proposed changes I still get: ``` $ yt-dlp --help --verbose Error: Cannot start application: No such file or directory ```
Author
Owner

@netblue30 commented on GitHub (Jan 13, 2026):

What happens if you comment out private-bin line?

<!-- gh-comment-id:3745527636 --> @netblue30 commented on GitHub (Jan 13, 2026): What happens if you comment out private-bin line?
Author
Owner

@dogknowsnx commented on GitHub (Jan 13, 2026):

What happens if you comment out private-bin line?

Same, unfortunately

<!-- gh-comment-id:3745774164 --> @dogknowsnx commented on GitHub (Jan 13, 2026): > What happens if you comment out private-bin line? Same, unfortunately
Author
Owner

@kmk3 commented on GitHub (Feb 23, 2026):

Possible fix: f2de864

This fixed yt-dlp on Artix.

@dogknowsnx

W/ the proposed changes I still get:

$ yt-dlp --help --verbose
Error: Cannot start application: No such file or directory

If yt-dlp does not work on Void, please retry with the latest firejail-git and
open a new issue.

<!-- gh-comment-id:3944824061 --> @kmk3 commented on GitHub (Feb 23, 2026): > Possible fix: [f2de864](https://github.com/netblue30/firejail/commit/f2de86464d270d0ff933ed095f2965afcfc2f4e7) This fixed yt-dlp on Artix. @dogknowsnx > W/ the proposed changes I still get: > > ``` > $ yt-dlp --help --verbose > Error: Cannot start application: No such file or directory > ``` If yt-dlp does not work on Void, please retry with the latest firejail-git and open a new issue.
Author
Owner

@dogknowsnx commented on GitHub (Feb 23, 2026):

Possible fix: f2de864

This fixed yt-dlp on Artix.

@dogknowsnx

W/ the proposed changes I still get:

$ yt-dlp --help --verbose
Error: Cannot start application: No such file or directory

If yt-dlp does not work on Void, please retry with the latest firejail-git and open a new issue.

Great work, the issue has been fixed!
@netblue30 Please considere a new release soon. Thanks!

<!-- gh-comment-id:3945058654 --> @dogknowsnx commented on GitHub (Feb 23, 2026): > > Possible fix: [f2de864](https://github.com/netblue30/firejail/commit/f2de86464d270d0ff933ed095f2965afcfc2f4e7) > > This fixed yt-dlp on Artix. > > [@dogknowsnx](https://github.com/dogknowsnx) > > > W/ the proposed changes I still get: > > ``` > > $ yt-dlp --help --verbose > > Error: Cannot start application: No such file or directory > > ``` > > If yt-dlp does not work on Void, please retry with the latest firejail-git and open a new issue. Great work, the issue has been fixed! @netblue30 Please considere a new release soon. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3448
No description provided.