2012-09-26 2 views
0

을 배포 및 the instructions을 따랐다. 나는 실제로 내 hubot를 실행하려고하면거대한 일련의 오류를 수신하지, 나는 리눅스에 hubot를 설치하고 Hubot

그러나, 나는 문제가 발생. 처음에 연결된 튜토리얼의 마지막 부분에있는 지침에 따라 대못 화를 시도했습니다. start hubotstart: Unknown job: hubot이라는 오류를 반환했습니다. 그래서 백업 및 /opt/hubot/bin/hubot --name Ro\ Bot --adapter campfire을 시도하고 오류의이 시리즈 가지고 :

/opt/hubot/bin/hubot: line 11: Hubot: command not found 
/opt/hubot/bin/hubot: line 12: Fs: command not found 
/opt/hubot/bin/hubot: line 13: Path: command not found 
/opt/hubot/bin/hubot: line 14: HTTP: command not found 
/opt/hubot/bin/hubot: line 15: Creator: command not found 
/opt/hubot/bin/hubot: line 16: OptParse: command not found 
/opt/hubot/bin/hubot: line 18: Switches: command not found 
/opt/hubot/bin/hubot: line 19: [: missing `]' 
/opt/hubot/bin/hubot: line 20: [: missing `]' 
/opt/hubot/bin/hubot: line 21: [: missing `]' 
/opt/hubot/bin/hubot: line 22: [: missing `]' 
/opt/hubot/bin/hubot: line 23: [: missing `]' 
/opt/hubot/bin/hubot: line 24: [: missing `]' 
/opt/hubot/bin/hubot: line 25: [: missing `]' 
/opt/hubot/bin/hubot: line 26: [: --version,: binary operator expected 
/opt/hubot/bin/hubot: line 27: ]: command not found 
/opt/hubot/bin/hubot: line 29: Options: command not found 
/opt/hubot/bin/hubot: line 30: adapter:: command not found 
/opt/hubot/bin/hubot: line 31: alias:: command not found 
/opt/hubot/bin/hubot: line 32: create:: command not found 
/opt/hubot/bin/hubot: line 33: enableHttpd:: command not found 
/opt/hubot/bin/hubot: line 34: name:: command not found 
/opt/hubot/bin/hubot: line 35: path:: command not found 
/opt/hubot/bin/hubot: line 37: syntax error near unexpected token `(' 
/opt/hubot/bin/hubot: line 37: `Parser = new OptParse.OptionParser(Switches)' 

이전 과정에서 서로 다른 오류가 자식 결과에 릴리스 패키지 대신 복제에서 설치 시도 : 나는 시도

[email protected]:/opt# wget https://github.com/downloads/github/hubot/hubot-2.2.0.tar.gz 
[email protected]:/opt# npm install 

npm ERR! Couldn't read dependencies. 

npm ERR! Error: ENOENT, no such file or directory '/opt/package.json' 
npm ERR! System Linux 2.6.35.4-rscloud 
npm ERR! command "node" "/usr/local/bin/npm" "install" 
npm ERR! cwd /opt 
npm ERR! node -v v0.6.9 
npm ERR! npm -v 1.1.0-3 
npm ERR! path /opt/package.json 
npm ERR! code ENOENT 
npm ERR! message ENOENT, no such file or directory '/opt/package.json' 
npm ERR! errno {} 
npm not ok 

npm cache clean하지만 도움이되지 못했습니다.

나는 그것을 할 모르는 내가 Hubot하거나 실행되는 프레임 워크의, 그래서 도움이 될 것입니다이 문제 해결을 시작하는 방법에 대한 정보를 잘 알고 아니에요.

답변

0

나는 당신이 "UNIX에 배포 Hubot"당신이 위에서 언급 한 링크를의 "설치 종속성"섹션을 따르지 않았다 생각한다. 특히, bash와 같은 일반 쉘은 커피 스크립트 인터프리터보다는 스크립트를 해석하려고 시도합니다. 당신이 당신의 쉘 프롬프트에서

coffee 

를 입력하고

coffee> 

프롬프트를 표시하지 않은 경우, 설치 지침의 첫 부분을 다시 방문. 나를 위해 어떤 임의의 문제를 해결

+0

내가 설치 "종속"절을 따랐 는가, 나는'커피>를받을 수 있나요'내 프롬프트로 내 쉘 프롬프트에서'coffee'를 입력 할 때. 'coffee> 프롬프트에서 내 Hubot 명령을 실행해야합니까? – beth

1

the release package에서 설치하십시오 (대신 git clone에서 설치).

+0

다른 오류가 발생했습니다. op를 편집하여 정보를 포함합니다. – beth

+0

wget을 실행 한 후 .tgz (gunzip, tar -xvf)의 압축을 풀면 "hubot"디렉토리에 압축이 풀린 다음 새 디렉토리에'npm install '이 설치됩니다. HTH – Nick