What does this Deno Worker error means? #15205
Answered
by
nayeemrmn
sinyo-matu
asked this question in
Q&A
-
Hi everyone. I'm so confusing about this error happens immediately after app started, And I just CAN NOT catch it anywhere of my code. error: Uncaught (in worker "") TypeError: Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': Argument 2 can not be converted to a dictionary
at makeException (deno:ext/webidl/00_webidl.js:80:12)
at Array.StructuredSerializeOptions (deno:ext/webidl/00_webidl.js:682:17)
at postMessage (deno:runtime/js/99_main.js:118:35)
at https://esm.sh/v86/docx@7.4.0/deno/docx.js:3:89683
at https://esm.sh/v86/docx@7.4.0/deno/docx.js:3:89720
at Object.<anonymous> (https://esm.sh/v86/docx@7.4.0/deno/docx.js:3:90875)
at Object.ct.exports.54 (https://esm.sh/v86/docx@7.4.0/deno/docx.js:3:90918)
at o (https://esm.sh/v86/docx@7.4.0/deno/docx.js:2:34875)
at https://esm.sh/v86/docx@7.4.0/deno/docx.js:2:34909
at Object.ct.exports.32../base64 (https://esm.sh/v86/docx@7.4.0/deno/docx.js:3:25275)
error: Uncaught (in promise) Error: Unhandled error in child worker.
at Worker.#pollControl (deno:runtime/js/11_workers.js:152:21) And In my code, // SendFaxChannelMessage is a Dictionary object
export function sendStartTask(worker: Worker, message: SendFaxChannelMessage) {
worker.postMessage(message);
} |
Beta Was this translation helpful? Give feedback.
Answered by
nayeemrmn
Jul 14, 2022
Replies: 1 comment 6 replies
-
It looks like docx is calling |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
sinyo-matu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like docx is calling
postMessage("", "*")
which does also fail on the web.