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

hubot fails to start on node 5.6.0 #3

Open
bfosberry opened this issue Mar 4, 2016 · 1 comment
Open

hubot fails to start on node 5.6.0 #3

bfosberry opened this issue Mar 4, 2016 · 1 comment

Comments

@bfosberry
Copy link
Contributor

[Fri Mar 04 2016 09:06:18 GMT-0600 (CST)] ERROR Unable to load /home/bfosberry/workspace/captain/node_modules/papertrail-hubot/scripts/papertrail: TypeError: Cannot read property 'on' of undefined
at /home/bfosberry/workspace/captain/node_modules/hubot/node_modules/scoped-http-client/src/index.js:87:14
at Groups.fetch (/home/bfosberry/workspace/captain/node_modules/papertrail-hubot/scripts/papertrail.coffee:135:7)
at new Groups (/home/bfosberry/workspace/captain/node_modules/papertrail-hubot/scripts/papertrail.coffee:87:8)
at module.exports (/home/bfosberry/workspace/captain/node_modules/papertrail-hubot/scripts/papertrail.coffee:209:22)
at Robot.loadFile (/home/bfosberry/workspace/captain/node_modules/hubot/src/robot.coffee:358:11)
at /home/bfosberry/workspace/captain/node_modules/papertrail-hubot/index.coffee:8:13
at FSReqWrap.cb as oncomplete

@cbelizontw
Copy link

The problem is that the script does not exits gracefully when the env variable is not set. I've already created a pull request to fix it:

#5

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

2 participants