hubot-natural
hubot-natural copied to clipboard
callMethod undefined
I guess I missed something in the setup, I get:
found 22 vulnerabilities (11 low, 3 moderate, 8 high)
run `npm audit fix` to fix them, or `npm audit` for details
test> Loading corpus: training_data/corpus.yml
[Wed Dec 19 2018 13:13:22 GMT+0100 (GMT+01:00)] ERROR Unable to load E:\hubot-natural\scripts\index: TypeError: Cannot read property 'callMethod' of undefined
at security.getUserRoles (E:\hubot-natural\scripts\lib\security.coffee:5:28)
at module.exports (E:\hubot-natural\scripts\bot\index.coffee:45:26)
at Robot.loadFile (E:\hubot-natural\node_modules\hubot\src\robot.coffee:358:11)
at Robot.load (E:\hubot-natural\node_modules\hubot\src\robot.coffee:377:10)
at Shell.loadScripts (E:\hubot-natural\node_modules\hubot\bin\hubot:93:11)
at Object.onceWrapper (events.js:273:13)
at Shell.emit (events.js:182:13)
at E:\hubot-natural\node_modules\hubot\src\adapters\shell.coffee:35:8
at E:\hubot-natural\node_modules\hubot\src\adapters\shell.coffee:101:9
at suppressedCallback (fs.js:200:5)
at FSReqWrap.oncomplete (fs.js:141:20)
Any idea?