title: `require 'socket.io-client.js'` not working
body: <p>I was able to get the basic socket.io server application running on my own server, and request it directly through any web browser (I tried FF, chrome, and IE7 which all worked).</p>
  
  <p>Now, the issue comes in that the client sample code doesn't work for me, and I get the following error in the javascript console in chrome:</p>
  
  <blockquote>
    <p>"Uncaught ReferenceError: require is not defined" in reference to this line of code in socket.io.js:
    var client = require('socket.io-client');</p>
  </blockquote>
  
  <p>This leads me to believe that it doesn't recognize the require command period, which seems odd.  A couple of other things - I have apache running, and so moved all of my socket.io files into my apache directory htdocs to be accessed through http port 80 which were installed using cygwin and the guide at: <a href="https://github.com/joyent/node/wiki/Building-node.js-on-Cygwin-(Windows)" rel="noreferrer">https://github.com/joyent/node/wiki/Building-node.js-on-Cygwin-(Windows)</a></p>
  
  <p>The socket.io files were also installed under the cygwin directory on my c: drive in windows, where they are not useful if accessed by apache.  One other tidbit - I do have a socket.io-client.js file, but when I opened it to edit using wordpad, it looks corrupted, having only one line of text inside: <code>&lt;symlink&gt;ÿþi</code></p>