Error Code Portal
Node.jsNode.jsError code

ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE

message target context unavailable

Code ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE · An issue reported by Node.js.

A message posted to a MessagePort could not be deserialized in the target vm Context. Not all Node.js objects can be successfully instantiated in any context at this time, and attempting to transfer them using postMessage() can fail on the receiving side in that case.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.