title: Requirejs Optimizer r.js not working with node
body: <p>I am trying to build my project with r.js requirejs plugin but I am not able to get generated output file. compiling successfully.</p>
  
  <p>build.js</p>
  
  <pre><code>({
      baseUrl: ".",
      paths : {
          plugins : "lib",
          underscore : "lib/underscore-min",
          backbone : "lib/backbone-min",
          text : "lib/text",
  
      },
      mainConfigFile:"app",
      name: "app",
      out: "akorp-built.js"
  })
  </code></pre>
  
  <p>Directory structure</p>
  
  <pre><code>project
   |
   |--js
   |   |--lib
   |   |--modules
   |   |--app.js
   |   |--require-jquery.js
   |   |--build.js
   |
   |--css
  r.js
  </code></pre>
  
  <p>Command </p>
  
  <pre><code>node r.js -o project/js/build.js
  </code></pre>
  
  <p>compiling but not generating output file.</p>
  
  <p>I tried this, I wonder compiled without 'build.js' file in directory</p>
  
  <pre><code> node r.js -o build.js
  </code></pre>
  
  <p>Is anything wrong on my side?</p>