2012-03-15 2 views
0

안녕하세요 저는 우분투 컴퓨터에 Hubot을 설치하려고하지만 실행을 시도 할 수 없습니다.Hubchat (Ubuntu)에 Hubot 설치

나는 Hubot 버전 2.1.3을 사용하고 내가 Hubots 루트에 package.json 파일을 업데이트하고 ./src에서 hipchat.coffee을 업로드하고 명령을 실행하면

https://github.com/hipchat/hubot-hipchat

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) 

내가 한 줄의 코드를 수정 havent 한

https://github.com/hipchat/hubot-hipchat/blob/master/src/hipchat.coffee

을 참조되는 파일입니다. hipchats에서 언급 그냥 실행 지침은 README 및 hubots는

감사

hubot-hipchat Hubot의 1.0.4 및 이전 버전에 문제가 될 것으로 보인다

답변

1

를 README. 나는 packages.json의 hubot 버전을 최신 버전으로 설정하여이 문제를 해결했습니다.

"hubot": ">=1.0.3" 
관련 문제