NODE_REPL_EXTERNAL_MODULE=file
版本历史
| 版本 | 变更 |
|---|---|
| v20.16.0 | 删除了嵌入器将此环境变量与 kDisableNodeOptionsEnv 一起使用的可能性。 |
| v13.0.0, v12.16.0 | 新增于: v13.0.0, v12.16.0 |
Node.js 模块的路径,该模块将代替内置交互式解释器加载。将此值覆盖为空字符串 ('') ,则将使用内置的交互式解释器。
\Path to a Node.js module which will be loaded in place of the built-in REPL.
Overriding this value to an empty string ('') will use the built-in REPL.