v1rtl

Results 451 comments of v1rtl

main module is now importing fine on v58 but `fetch-blob/from.js` breaks because of `worker_threads`: ``` ➜ deno eval "import {File, Blob, blobFrom, blobFromSync, fileFrom, fileFromSync} from 'https://esm.sh/fetch-blob/from.js'" Download https://esm.sh/fetch-blob/from.js Download...

having this on v55 now: ``` Uncaught TypeError: Object prototype may only be an Object or null: undefined at Function.setPrototypeOf (:null:null) at https://cdn.esm.sh/v55/[email protected]/deno/graceful-fs.js:2:2879 at ve (https://cdn.esm.sh/v55/[email protected]/deno/graceful-fs.js:2:2901) at B (https://cdn.esm.sh/v55/[email protected]/deno/graceful-fs.js:3:655) at...

still on v57 this seems to be causing the error: ```js if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read); return read; ```

still happens on v47 ``` ➜ deno eval 'import "https://esm.sh/[email protected]?dev"' Download https://cdn.esm.sh/v47/@types/node/http Download https://cdn.esm.sh/v47/@types/node/tls Download https://cdn.esm.sh/v47/@types/node/url error: Uncaught SyntaxError: The requested module '/v47/[email protected]/deno/stream-browserify.development.js' does not provide an export named 'Readable'...

on v50 I see this instead: ``` error: Uncaught TypeError: Class extends value undefined is not a constructor or null var MultipartStream = class extends sandwich_stream_1.default { ^ at ../../../../../tmp/esm-build-e948e7e0c235eccfffa26ffd75dac27c9851089e/node_modules/telegraf/lib/core/network/multipart-stream.js...

on v55 it's this: ``` error: Uncaught TypeError: Class extends value undefined is not a constructor or null at https://cdn.esm.sh/v55/[email protected]/deno/telegraf.js:3:22 at https://cdn.esm.sh/v55/[email protected]/deno/telegraf.js:2:1405 at https://cdn.esm.sh/v55/[email protected]/deno/telegraf.js:3:559 at https://cdn.esm.sh/v55/[email protected]/deno/telegraf.js:2:1405 at https://cdn.esm.sh/v55/[email protected]/deno/telegraf.js:3:4797 at https://cdn.esm.sh/v55/[email protected]/deno/telegraf.js:2:1405...

same error on v57: ```sh deno eval 'import "https://esm.sh/[email protected]?dev&pin=v57"' error: Uncaught TypeError: Class extends value undefined is not a constructor or null var MultipartStream = class extends sandwich_stream_1.default { ^...

getting this on v55: ```sh ➜ deno run http://esm.sh/@ionic/cli Download https://cdn.esm.sh/error.js?type=unsupported-nodejs-builtin-module&name=worker_threads&importer=write-file-atomic Download https://cdn.esm.sh/v55/[email protected]/index.d.ts error: Relative import path "readline" not prefixed with / or ./ or ../ from "https://cdn.esm.sh/v55/@types/node/readline.d.ts" at https://cdn.esm.sh/v55/[email protected]/deno/write-file-atomic.js:2:233...

New error: ```sh esbuild: No loader is configured for ".node" files: esm-build-c2ac82716e22251a28d473a3dc534cba44d06eaa/node_modules/fsevents/fsevents.node ``` probably ".node" support should be a separate issue

esbuild on Node.js uses `worker_threads` which is not yet supported by Deno std/node but you can use [deno esbuild port](https://deno.land/x/[email protected]) instead