Skip to content

TypeError: Cannot perform Construct on a detached ArrayBuffer #55

@marvinhagemeister

Description

@marvinhagemeister

Getting this error every couple CI runs on the fresh repo https://github.com/denoland/fresh/actions/runs/17232077896/job/48888203223?pr=3260#step:8:1276

error: TypeError: Cannot perform Construct on a detached ArrayBuffer
  const ret = new Uint8Array(arg0);
              ^
    at new Uint8Array (<anonymous>)
    at __wbg_new_a12002a7f91c75be (https://jsr.io/@deno/loader/0.3.5/src/lib/rs_lib.internal.js:756:15)
    at <anonymous> (wasm://wasm/01438d62:1:4211098)
    at <anonymous> (wasm://wasm/01438d62:1:2980190)
    at <anonymous> (wasm://wasm/01438d62:1:254239)
    at <anonymous> (wasm://wasm/01438d62:1:3150284)
    at <anonymous> (wasm://wasm/01438d62:1:4175961)
    at <anonymous> (wasm://wasm/01438d62:1:4227499)
    at __wbg_adapter_54 (https://jsr.io/@deno/loader/0.3.5/src/lib/rs_lib.internal.js:252:8)
    at real (https://jsr.io/@deno/loader/0.3.5/src/lib/rs_lib.internal.js:156:14)
This error was not caught from a test and caused the test runner to fail on the referenced module.
It most likely originated from a dangling promise, event/timeout handler or top-level code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    important for freshIssues that are important for Fresh users

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions