错误代码门户
Node.jsNode.js错误代码

ERR_WEBASSEMBLY_NOT_SUPPORTED

webassembly not supported

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

使用了需要 WebAssembly 的功能,但 WebAssembly 在当前环境中不受支持或已被禁用(例如,使用 --jitless 运行时)。 当 WebAssembly 不可用时,TypeScript 解析和 WebAssembly 模块导入(包括源阶段导入)会报告此错误。 Node.js 没有为这些操作提供替代实现。无需终止进程即可捕获此错误。

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

A feature requiring WebAssembly was used, but WebAssembly is not supported or has been disabled in the current environment (for example, when running with --jitless). TypeScript parsing and WebAssembly module imports, including source phase imports, report this error when WebAssembly is unavailable. Node.js does not provide an alternative implementation for these operations. This error can be caught without terminating the process.

故障排除与诊断链接

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