Deno compatibility
uriva opened this issue · comments
uriva commented
index.js:
import WebTorrent from "npm:webtorrent";
deno run index.js
gives
error: Uncaught SyntaxError: Unexpected token 'i', "import {cr"... is not valid JSON
Cas_ commented
webtorrent doesn't support deno, you can try
import WebTorrent from "https://esm.sh/webtorrent"
but I won't guarantee it will work
uriva commented
error: Import 'https://esm.sh/webtorrent@2.1.12' failed: 500 Internal Server Error
uriva commented
what about the proposal here?
denoland/deno#16490
uriva commented