partytown icon indicating copy to clipboard operation
partytown copied to clipboard

[🐞] Proxy object could not be cloned

Open sotasan opened this issue 10 months ago • 1 comments

Describe the bug

Hey,

I tried integrating Partytown into Solid Start, but unfortunately everytime I try to visit localhost:3000, I get the Error Proxy object could not be cloned in Firefox and Failed to execute 'postMessage' on 'Worker': [object Object] could not be cloned in Chrome. In the provided example, I copy the library files with the copylib subcommand into the public folder.

The error also occurs if I use the Vite plugin, but there I have an additional Error ENOENT: no such file or directory, open '.../solid-project-partytown/node_modules/.pnpm/@[email protected]/node_modules/@builder.io/partytown/lib/client.js' and the files won't be copied to the .output/public folder, probably because of the incompatibility with vinxi.

Reproduction

https://github.com/sotasan/abstracted-shower

Steps to reproduce

  1. pnpm install
  2. pnpm dev

Browser Info

Chrome, Firefox

Additional Information

No response

sotasan avatar Apr 11 '24 07:04 sotasan

Same incident

GregoireF avatar Apr 23 '24 17:04 GregoireF