Hi,
I have the following content in my node build system file (node.sublime-build)
{
“cmd”: “node”, “$file”, “$file_base_name”],
“working_dir”: “${project_path:${folder}}”,
“selector”: “source.js”
}
I have a javascript file named slnstest.js whose content is as follows
slnstest.js
console.log(“Hello”);
When I try to build this .js file using (Ctrl+B) I get th the following message, instead of actual output being printed on console.
[Finished in 0.0s with exit code 1]
[cmd: [‘node’, ‘/home/jerry/dev/javascript/slnstest.js’, ‘slnstest’]]
[dir: /home/jerry/dev/javascript]
[path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games]
I am not sure how to debug this issue, any help will be appreciated.
-Jerry