Node.js 如何在Sublime Text 3中配置nodejs构建插件

Node.js 如何在Sublime Text 3中配置nodejs构建插件,node.js,sublimetext3,Node.js,Sublimetext3,我正在尝试配置此插件: 在崇高的文本3中 我将此设置作为默认设置: { // save before running commands "save_first": true, // if present, use this command instead of plain "node" // e.g. "/usr/bin/node" or "C:\bin\node.exe" "node_command": false, // Same for NPM command

我正在尝试配置此插件: 在崇高的文本3中

我将此设置作为默认设置:

{
  // save before running commands
  "save_first": true,
  // if present, use this command instead of plain "node"
  // e.g. "/usr/bin/node" or "C:\bin\node.exe"
  "node_command": false,
  // Same for NPM command
  "npm_command": false,
  // as 'NODE_PATH' environment variable for node runtime
  "node_path": true,

  "expert_mode": false,

  "output_to_new_tab": false
}
然后我有了我的用户设置:

{
  "node_path": "C:/Program Files/nodejs/"
}
我还检查了路径中的节点,该节点可以全局访问。我使用Windows 10,但输出显示此插件找不到node.exe:

错误:找不到进程“node.exe”。module.js:557 犯错误; ^


有人能帮我吗?谢谢

NODE\u PATH
用于设置Nodejs将搜索要导入代码中的模块的路径(请参阅:)

如果要设置Nodejs可执行文件的路径,应使用
node\u命令
选项,而不是
node\u路径
。此外,在Windows上,应该使用反斜杠作为路径分隔符,而不是正斜杠