Skip to content

Failed to execute 'structuredClone' on prepared vector #25

Description

@rajsite

Trying to use the preparePostMessage and rehydrateVector helpers on the README example I get the error message:

Uncaught DOMException: Failed to execute 'structuredClone' on 'Window': (index) => isChunkedValid(unchunkedData, index) could not be cloned.

See stackblitz example: https://stackblitz.com/edit/geoarrow-readme-worker-example?file=src%2Fmain.ts&terminal=dev
And open devtools to see the error.

npm list:

+-- @esbuild/linux-x64@0.19.12 extraneous
+-- @geoarrow/geoarrow-js@0.3.0
+-- @rollup/rollup-linux-x64-gnu@4.12.0 extraneous
+-- @rollup/rollup-linux-x64-musl@4.12.0 extraneous
+-- apache-arrow@15.0.0
+-- typescript@5.3.3
`-- vite@5.1.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions