--no-addons


新增于: v16.10.0, v14.19.0

禁用 node-addons 导出条件,同时禁用加载本地插件。当指定 --no-addons 时,调用 process.dlopen 或加载本地 C++ 插件将会失败并抛出异常。

🌐 Disable the node-addons exports condition as well as disable loading native addons. When --no-addons is specified, calling process.dlopen or requiring a native C++ addon will fail and throw an exception.

AltStyle によって変換されたページ (->オリジナル) /