0
你好,我正在嘗試在Ubuntu機器上安裝Hubot,但無法啓動它。在Hipchat上安裝Hubot(Ubuntu)
我使用Hubot的2.1.3版本,有一次,我更新Hubots根package.json
文件並上傳在./src
的hipchat.coffee
並運行以下命令本文檔的hipchat
https://github.com/hipchat/hubot-hipchat
。它說cannot find module 'hubot'
我不知道這個錯誤來自哪裏,任何幫助將不勝感激。
編輯
它現在給我關於不能夠運行hipchat咖啡腳本本身的錯誤。
TypeError: Object #<Object> has no method 'robot'
at Object.<anonymous> (/usr/local/lib/node_modules/hubot/src/hipchat.coffee:7:28)
at Object.<anonymous> (/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.<anonymous> (/usr/local/lib/node_modules/hubot/bin/hubot:5:11)
at Object.<anonymous> (/usr/local/lib/node_modules/hubot/bin/hubot:105:4)
這是所提到
https://github.com/hipchat/hubot-hipchat/blob/master/src/hipchat.coffee
我還沒有改性的一行代碼文件。在hipchats剛纔提到執行指令自述和hubots自述
感謝