If anyone has noticed the JavaScript runtime warnings for 'yt-dlp' on a GNU/Linux system, the easiest fix, if you already have 'nodjs' installed, is to create the following file...
"~/.yt-dlp/config.txt"
...with the following contents...
--js-runtimes node --remote-components ejs:github
And yes, it starts with "--" and nothing else beforehand. You do not need anything else afterwards either unless you know what you are doing.
#linux #youtube #javascript #nodejs #ytdlp #terminal #commandline