The line in sublime-build "shell_cmd": "taskkill /F /IM node.exe & node $file" is causing an error ERROR: The process "node.exe" not found..
If I comment out the taskkill line the error disappears.
I've added "node_command": "C:\\Program Files\\nodejs\\node.exe" in user sublime-settings.
How can I fix this??
{
"cmd": ["node", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.js",
"shell": true,
"encoding": "cp1252",
"windows":
{
"shell_cmd": "taskkill /F /IM node.exe & node $file"
},
"linux":
{
"shell_cmd": "killall node; /usr/bin/env node $file"
},
"osx":
{
"shell_cmd": "killall node; /usr/bin/env node $file"
}
}