title: Node.js file uploads uninitialized parser
body: <p>I'm writing a file up-loader in node.js, I've followed the documentation and while working on my mac the files have been uploading sometimes. On my windows pc files wont upload at all.</p>
  
  <p>I'm using the express framework, and the app is hosted on an external server. The error im getting while trying to upload is:</p>
  
  <pre><code>Error: unintialized parser
      at IncomingForm.write (/srv/node/test-app/node_modules/express/node_modules/connect/node_modules/formidable/lib/incoming_form.js:130:17)
      at IncomingMessage.&lt;anonymous&gt; (/srv/node/test-app/node_modules/express/node_modules/connect/node_modules/formidable/lib/incoming_form.js:87:12)
      at IncomingMessage.EventEmitter.emit (events.js:95:17)
      at IncomingMessage.&lt;anonymous&gt; (_stream_readable.js:720:14)
      at IncomingMessage.EventEmitter.emit (events.js:92:17)
      at emitDataEvents (_stream_readable.js:745:10)
      at IncomingMessage.Readable.on (_stream_readable.js:666:5)
      at IncomingForm.parse (/srv/node/test-app/node_modules/express/node_modules/connect/node_modules/formidable/lib/incoming_form.js:86:6)
      at /srv/node/frog-jam/node_modules/express/node_modules/connect/lib/middleware/multipart.js:125:12
      at noop (/srv/node/frog-jam/node_modules/express/node_modules/connect/lib/middleware/multipart.js:22:3)
  </code></pre>
  
  <p>Im posting the image through a form and on the server side I have this code handling the file upload:</p>
  
  <pre><code>fs.rename(req.files.image.path
      , '/path/to/new/folder/' + req.files.image.name
      , function(err) {
          if(err) return res.json(err);
          return res.json({message:'Upload complete'});
      }
  );
  </code></pre>
  
  <p>I have added console logs in and around this method but it seems like it is not getting to the controller method. I don't have any middle-ware to handle file uploads myself, and there isn't any more middle-ware on this route.</p>
  
  <p>All the upload destinations are also correct as it will occasionally work on my mac book.</p>