How to run RequireJS optimizer via Sublime Text 2 Build System

How to run RequireJS optimizer via Sublime Text 2 Build System

{
  "cmd": ["node r.js -o app.build.js"],
  "working_dir": "$project_path"
}

[Errno 2] No such file or directory
[cmd:  [u'node r.js -o app.build.js']]
[dir:  /Users/janjarfalk/Desktop/Projects/Template]
[path: /Users/janjarfalk/Desktop/Projects/Template]
[Finished]

Running node r.js -o app.build.js


Learn More :