Skip to content

cb is not a function #7

Description

@dgrim1214

Despite following the installation instructions for hubot and hubot-ector, I have been unable to make it work. Upon launching hubot, I receive these two errors:

Error while loading cn.json
Error: ENOENT: no such file or directory, open 'cn.json'

Then, during operation of the bot, any string not caught by other hubot scripts will return

ERROR TypeError: cb is not a function
  at [object Object].ConceptNetwork.addNode (/home/xxxx/domibot/node_modules/concept-network/lib/concept-network.js:66:5)
  at Object.Ector.addEntry (/home/xxxx/domibot/node_modules/hubot-ector/node_modules/ector/lib/ector.js:134:30)
  at /home/xxxx/domibot/node_modules/hubot-ector/src/ector.coffee:58:7, <js>:51:15
  at Listener.callback (/home/xxxx/domibot/node_modules/hubot/src/robot.coffee:236:52, <js>:162:16)
  at executeListener (/home/xxxx/domibot/node_modules/hubot/src/listener.coffee:65:11, <js>:53:19)
  at allDone (/home/xxxx/domibot/node_modules/hubot/src/middleware.coffee:44:37, <js>:34:16)
  at /home/xxxx/domibot/node_modules/hubot/node_modules/async/lib/async.js:274:13
  at Object.async.eachSeries (/home/xxxx/domibot/node_modules/hubot/node_modules/async/lib/async.js:142:20)
  at Object.async.reduce (/home/xxxx/domibot/node_modules/hubot/node_modules/async/lib/async.js:268:15)
  at /home/xxxx/domibot/node_modules/hubot/src/middleware.coffee:49:7, <js>:37:22
  at _combinedTickCallback (internal/process/next_tick.js:67:7)
  at process._tickCallback (internal/process/next_tick.js:98:9)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions