hubot-hipchat nodejs error

I am messing with the hubot for HipChat and have made an install guide -

Its working on one Ubuntu host, but I cant make it work at another, the error is

root@moserver:/data/home/bnp# cd /opt/hal9000
root@moserver:/opt/hal9000# bin/hubot
connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead node_modules/hubot/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:56:20
connect deprecated limit: Restrict request size at location of read node_modules/hubot/node_modules/express/node_modules/connect/lib/middleware/multipart.js:86:15
[Fri Nov 21 2014 12:14:27 GMT+0100 (CET)] DEBUG Loading adapter hipchat
[Fri Nov 21 2014 12:14:27 GMT+0100 (CET)] DEBUG HipChat adapter options: {"jid":"*****","password":"*****","token":"***********","rooms":"@All","rooms_blacklist":"******","host":"","autojoin":true,"xmppDomain":null,"reconnect":true}
[Fri Nov 21 2014 12:14:27 GMT+0100 (CET)] INFO Connecting HipChat adapter...
[Fri Nov 21 2014 12:14:28 GMT+0100 (CET)] ERROR TypeError: Object #<Object> has no method '_extend'
  at connect (/data/opt/hal9000/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/node_modules/tls-connect/starttls.js:224:18)
  at Connection.setSecure (/data/opt/hal9000/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/lib/connection.js:224:14)
  at Connection.onStanza (/data/opt/hal9000/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/lib/connection.js:267:14)
  at StreamParser.Connection.startParser (/data/opt/hal9000/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/lib/connection.js:156:14)
  at StreamParser.EventEmitter.emit (events.js:67:17)
  at SaxLtx.StreamParser.write (/data/opt/hal9000/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/lib/stream_parser.js:58:22)
  at SaxLtx.EventEmitter.emit (events.js:67:17)
  at SaxLtx.module.exports.write (/data/opt/hal9000/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/node_modules/ltx/lib/sax_ltx.js:81:13)
  at StreamParser.write (/data/opt/hal9000/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/lib/stream_parser.js:102:21)
  at Connection.onData (/data/opt/hal9000/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/lib/connection.js:208:21)
  at Socket.Connection.setupStream.proxyEvent (/data/opt/hal9000/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/lib/connection.js:64:14)
  at Socket.EventEmitter.emit (events.js:88:20)
  at TCP.onread (net.js:347:14)

I am pretty sure the extend is installed:

root@moserver:/opt/hal9000# find . -name "*extend*"

The hubot start looks like:

npm install
export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:node_modules/hubot-hipchat/node_modules/:$PATH"

exec node_modules/.bin/hubot --adapter hipchat "$@"

1 answer

1 accepted

This widget could not be displayed.

Ubuntu 10.04 only "supports via apt-get install nodejs" a nodejs up til version v0.6.x

The Hip-Chat requires a newer version

nodejs must be installed and compiled, updated

So you're saying for later Ubuntu - I'm on 14.04, apt-get install nodejs is ok? And therefore the linuxcareer link at the mos-eisley page above should work?

"on 14.04, apt-get install nodejs is ok" - Yes :-) The Link is mainly for reference ideas/alternative to my description :-)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

262 views 1 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you