Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to execute 'postMessage' on 'Worker' #9

Open
okwme opened this issue Oct 22, 2017 · 1 comment
Open

Failed to execute 'postMessage' on 'Worker' #9

okwme opened this issue Oct 22, 2017 · 1 comment

Comments

@okwme
Copy link

okwme commented Oct 22, 2017

got this error, any ideas?

DOMException: Failed to execute 'postMessage' on 'Worker': function (){return ccall(ident,returnType,argTypes,arguments)} could not be cloned.
    at eval (webpack-internal:///622:1:3485)
    at new Promise (<anonymous>)
    at Worker.o.post (webpack-internal:///622:1:3301)
    at Object.run (webpack-internal:///622:1:3729)
    at eval (webpack-internal:///241:87:26)
    at http://code.dappbench.com/browser-solc.min.js:1:141533
    at HTMLScriptElement.d.readyState.d.onload (http://code.dappbench.com/browser-solc.min.js:1:141310)
@counterbeing
Copy link

With zero context or experience with this plugin, i'd bet you're passing an object that contains a function, which cannot be cloned. There are limitations around what can be posted to a worker, I think it's in the README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants