mysql shell for vscode: runSql() function returns: failed to execute postmessage on dedicatedworkerglobalscope

20 views Asked by At

I'm using mysql shell for vscode extension and typescript code like this documentation blow:

https://dev.mysql.com/doc/mysql-shell-gui/en/mysql-shell-vscode-notebook-select-typescript.html

but I'm getting error showed in image blow:

enter image description here

1

There are 1 answers

0
Muhammed Eyüp Yılmaz On

Ensure that the data you're trying to send with postMessage is clonable. Functions, for instance, cannot be cloned and sent to web workers.