Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

callMethod undefined #53

Open
j2l opened this issue Dec 19, 2018 · 0 comments
Open

callMethod undefined #53

j2l opened this issue Dec 19, 2018 · 0 comments

Comments

@j2l
Copy link

j2l commented Dec 19, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant