Closed NullCode1337 closed 3 months ago
Hi there,
This is linked with an already registered issue in WebTorrent, which can be found here: https://github.com/webtorrent/webtorrent/issues/2777
Due to this issue, webtorrent (and webtorrent-cli) will not work with NodeJS 22 until this is fixed and you would have to downgrade to NodeJS 21 or wait for a fix.
I'll aim to look at this today, and will try and get a fix pushed out for this.
Sorry, the above PR actually broke webtorrent-cli
in it's entirety... will have to wait for 5.1.2
which will include a fix for this issue and for webtorrent-cli
not working. Please keep an eye on https://github.com/webtorrent/webtorrent-cli/pull/311 for the fix.
What version of this package are you using? Running
npm install webtorrent-cli -g
from arch terminalWhat operating system, Node.js, and npm version? Arch Linux Hyprland, Node.js v22.3.0, npm@10.8.1
What happened? Followed guide to install node, npm, and webtorrent Tried to run
webtorrent
, error:Also happens when not running webtorrent via sudo, npm installation without sudo failed and I needed it for install
What did you expect to happen? WebTorrent help menu to appear
Are you willing to submit a pull request to fix this bug? As long as I'm guided to it