Uncaught DOMException: Failed to execute 'postMessage' on 'Worker' #590
Unanswered
MichalSmyk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to add partytown to Shopify, I followed malipetek tutorial to instal the app on the store and then used cloudflare hosted proxy for the worker. To make it work I had added some code from Partydawn repo and followed steps from there. I managed to have to worker running with scores in Lighthouse going up as well which is amazing, but I am having issues with few error messages from this
/apps/partytown/lib/debug/partytown-sandbox-sw.js?v=0.7.0
with errorVM322 partytown-sandbox-sw.js:526 Uncaught DOMException: Failed to execute 'postMessage' on 'Worker': function(){for(var n=arguments.length,o=new Array(n),w=0;w<n;w++)o[w]=arguments[w];var t="function"==typeof o[o...<omitted>...e} could not be cloned.
.There was one more error with google ads, but in the time of writing this post, all partytown logs in the console disappeared, no matter if debug is true/false ...
I understand it is a mix of 3 different ways, no of the ways would work on its own. The theme is Dawn 12
Beta Was this translation helpful? Give feedback.
All reactions