hubot-archive / hubot-auth

Assign roles to users and restrict command access in other scripts
149 stars 54 forks source link

Error when setting HUBOT_AUTH_ROLES #53

Closed rambo45 closed 7 years ago

rambo45 commented 7 years ago

I have set the environment variable properly but it fails with this error: ERROR Unable to load /opt/bot/node_modules/hubot-auth/src/auth: TypeError: Cannot read property '0' of null at module.exports (/opt/bot/node_modules/hubot-auth/src/auth.coffee:48:36, :35:70) at Robot.loadFile (/opt/bot/node_modules/hubot/src/robot.coffee:358:11, :226:13) at /opt/bot/node_modules/hubot-auth/index.coffee:12:11, :26:33 at FSReqWrap.cb [as oncomplete] (fs.js:240:19)

cecilia-sanare commented 7 years ago

Can you provide an example of what you set the environment variable to?

cecilia-sanare commented 7 years ago

Closing due to inactivity, feel free to respond with more information and I'll reopen the issue.