partytown
partytown copied to clipboard
[🐞] Proxy object could not be cloned
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
-
pnpm install
-
pnpm dev
Browser Info
Chrome, Firefox
Additional Information
No response
Same incident