Ubuntu上的Hubot错误:输入错误错误参数

Ubuntu上的Hubot错误:输入错误错误参数,ubuntu,hubot,Ubuntu,Hubot,在干净的最新Ubuntu桌面上安装Hubot。首次尝试运行Hubot会导致以下情况: cd /opt/hubot && ./bin/hubot connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:56:20

在干净的最新Ubuntu桌面上安装Hubot。首次尝试运行Hubot会导致以下情况:

cd /opt/hubot && ./bin/hubot
connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:56:20
connect deprecated limit: Restrict request size at location of read node_modules/express/node_modules/connect/lib/middleware/multipart.js:86:15
[Wed Dec 24 2014 15:37:46 GMT-0500 (EST)] ERROR TypeError: Bad argument
  at Object.fs.fstat (fs.js:669:11)
  at onOpen (/opt/hubot/node_modules/readline-history/readline-history.js:62:12)
  at Object.oncomplete (fs.js:107:15)

确保执行apt get update以获取最新信息。

我猜如果你像我一样,那么你第一次以sudo的身份运行hubot。这创建了一个.hubot_历史作为根。您需要将其更改为常规用户,以便将其写入

sudo chown your_user ./.hubot_history
祝你好运