I am trying to create a Node.js build system for SB3 on a Mac Yosemite. Here is my Node.Sublime-Build:
{
"cmd": ["/usr/local/bin/node", "$file"],
"selector": "source.js"
}
Writing only 'node' returns an error that the node was not found. I quickly checked in the terminal "Which node" and it returned / usr / local / bin. I switched to the code above, and now the assembly simply returns "completed in x.0s".
Even if I just console.log, it just returns "finished in x.0s".
In addition, I checked that node is running on my computer (from the console, and it returns my console.log ()). What can I lose?
Thanks everyone!
source
share