错误代码门户
Node.jsNode.js错误代码旧版代码 · 请确认受支持的版本

ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST

missing transferable in transfer list

代码 ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST · Node.js 报告的问题。

需要在transferList 参数中显式列出的对象位于传递给postMessage() 调用的对象中,但未在该调用的transferList 中提供。通常,这是一个 MessagePort。 在 v15.0.0 之前的 Node.js 版本中,此处使用的错误代码是 ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST。但是,可传输对象类型集已扩展为涵盖比 MessagePort 更多的类型。

Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。

An object that needs to be explicitly listed in the transferList argument is in the object passed to a postMessage() call, but is not provided in the transferList for that call. Usually, this is a MessagePort. In Node.js versions prior to v15.0.0, the error code being used here was ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST. However, the set of transferable object types has been expanded to cover more types than MessagePort.

故障排除与诊断链接

请先确认文档中的产品、版本及发生环境与当前情况一致。