Cloud 9 browserify
<p>I'm a new user of Javascript and I'm trying to use <code>"require()"</code> in a cloud 9 project of mine. But whenever I try I get this error</p>

<blockquote>
  <p>Uncaught ReferenceError: require is not defined.</p>
</blockquote>

<p>I was told I could use <code>browserify</code>, but I have had no luck installing it. 
I used this command to install it: </p>

<pre><code>npm install -g browserify
</code></pre>

<p>and the first error while installing it was: </p>

<blockquote>
  <p>Error: No compatible version found: browser-pack@'^6.0.1'</p>
</blockquote>

<p>How can I install <code>browserify</code>, or how can I get <code>require</code> to work?
Let me know if you need more information, thanks for the help in advance.</p>