エラーコードポータル
Node.jsNode.jsエラーコード

ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE

message target context unavailable

コード ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE · Node.jsが報告した問題です。

MessagePort にポストされたメッセージをターゲット VM コンテキストで逆シリアル化できませんでした。現時点では、どのコンテキストでもすべての Node.js オブジェクトを正常にインスタンス化できるわけではなく、その場合、postMessage() を使用してオブジェクトを転送しようとすると、受信側で失敗する可能性があります。

Google Translate · 自動翻訳です。専門用語や適用条件は英語の原文で確認してください。

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.

トラブルシューティング・診断リンク

まず、文書の製品・バージョン・発生環境が現在の状況と一致しているか確認してください。