title: browserify cannot find module 'react'
body: <p>I have this bit of react code called <code>main.js</code>:</p>
  
  <pre><code>var React = require('react');
  
  var Comment = React.createClass({
  render: function(){
    return (
      &lt;div className="comment"&gt;
        &lt;h2 className="commentAuthor"&gt;
          {this.props.author}
        &lt;/h2&gt;
        &lt;span dangerouslySetInnerHTML={{__html:marked(this.props.children.toString(), {sanitize:true})}} /&gt;
      &lt;/div&gt;
    );
  }
  });
  </code></pre>
  
  <p>And I am trying to use browserify and reactify with it:</p>
  
  <p><code>browserify -t reactify main.js</code></p>
  
  <p>But I am getting this error:</p>
  
  <pre><code>Error: Cannot find module 'react' from '/Users/jameslin/projects/reactjs/react-0.13.2'
      at /usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:46:17
      at process (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:173:43)
      at ondir (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:188:17)
      at load (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:69:43)
      at onex (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:92:31)
      at /usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:22:47
      at Object.oncomplete (fs.js:107:15)
  </code></pre>
  
  <p>Given that I have installed <code>react</code> and <code>reactify</code> npm modules by:</p>
  
  <ul>
  <li><code>npm install -g react</code></li>
  <li><code>npm install -g reactify</code></li>
  </ul>