title: Installing Hubot on Hipchat (Ubuntu)
body: <p>Hello I am trying to install Hubot on a Ubuntu machine but can't get it to run.</p>
  
  <p>I'm using version 2.1.3 of Hubot and following this documentation for hipchat</p>
  
  <p><a href="https://github.com/hipchat/hubot-hipchat" rel="nofollow">https://github.com/hipchat/hubot-hipchat</a></p>
  
  <p>Once I update the <code>package.json</code> file on Hubots root and upload the <code>hipchat.coffee</code> in <code>./src</code> and run the command. it says <code>cannot find module 'hubot'</code></p>
  
  <p>I have no idea where this error is coming from and any help would be appreciated.</p>
  
  <p><strong>Edit</strong></p>
  
  <p>It's now giving me errors regarding not being able to run the hipchat coffee script itself.</p>
  
  <pre><code>TypeError: Object #&lt;Object&gt; has no method 'robot'
      at Object.&lt;anonymous&gt; (/usr/local/lib/node_modules/hubot/src/hipchat.coffee:7:28)
      at Object.&lt;anonymous&gt; (/usr/local/lib/node_modules/hubot/src/hipchat.coffee:234:4)
      at Module._compile (module.js:441:26)
      at Object..coffee (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:21:21)
      at Module.load (module.js:348:31)
      at Function._load (module.js:308:12)
      at Module.require (module.js:354:17)
      at require (module.js:370:17)
      at Object.&lt;anonymous&gt; (/usr/local/lib/node_modules/hubot/bin/hubot:5:11)
      at Object.&lt;anonymous&gt; (/usr/local/lib/node_modules/hubot/bin/hubot:105:4)
  </code></pre>
  
  <p>This is the file being referred</p>
  
  <p><a href="https://github.com/hipchat/hubot-hipchat/blob/master/src/hipchat.coffee" rel="nofollow">https://github.com/hipchat/hubot-hipchat/blob/master/src/hipchat.coffee</a></p>
  
  <p>I havent modified a single line of code. Just executing instructions mentioned in hipchats readme and hubots readme</p>
  
  <p>Thanks</p>