You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Uncaught (in promise) BadResource: Bad resource ID
const result = await reader.read(inspectArr);
^
at async read (deno:runtime/js/12_io.js:105:19)
at async readDelim (https://deno.land/[email protected]/io/bufio.ts:652:20)
at async readStringDelim (https://deno.land/[email protected]/io/bufio.ts:702:20)
at async readLines (https://deno.land/[email protected]/io/bufio.ts:711:18)
at async waitForWSEndpoint (https://deno.land/x/[email protected]/src/deno/BrowserRunner.ts:167:20)
at async BrowserRunner.setupConnection (https://deno.land/x/[email protected]/src/deno/BrowserRunner.ts:145:31)
at async ChromeLauncher.launch (https://deno.land/x/[email protected]/src/deno/Launcher.ts:114:26)
at async file:///home/ubuntu/Projects/deno-puppeteer/example.ts:3:17
It's hard to tell if it's related to denoland/deno#15479. Although in both cases it mentions some reader, but there it includes deno:core/01_core.js, while in this issue here it's related to deno:runtime/js/12_io.js.
Might be related. Might be not.
P.S. Although I like Deno, for now I'm more inclined to use original NodeJS puppeteer, as a more reliable piece of software. Unfortunately. Maybe in future release when there will be support for npm packages, this issue won't be even needed to be resolved.
Just tried to run the example code from README:
example.js
/example.ts
:And then:
Which throws an error:
Deno.version
:The text was updated successfully, but these errors were encountered: