Node Compat for WebTorrent in Deno #16490
Labels
bug
Something isn't working correctly
node compat
node native extension
related to the node-api (.node)
Deno v1.27.0 on Ubuntu 22.04.1 LTS
I am trying to run WebTorrent in Deno using the following command:
deno run --allow-env --allow-ffi --allow-net --allow-read --allow-sys --unstable ./wt.js download 0E876CE2A1A504F849CA72A5E2BC07347B3BC957
Content of wt.js:
import "npm:webtorrent-cli/bin/cmd.js";
It produces the following error:
deno: symbol lookup error: /home/user/.cache/deno/npm/registry.npmjs.org/utp-native/2.5.3/prebuilds/linux-x64/node.napi.node: undefined symbol: uv_timer_init
uv_timer_init
appears to be fromlibuv
, which Node uses: https://docs.libuv.org/en/v1.x/timer.htmlIt works on the same system using Node. Is it currently possible to make this work with Deno?
The text was updated successfully, but these errors were encountered: