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
Object is not a function #197
Comments
You don't have to add |
@SamHam I'm going to close, because @skippednote touched on why this particular error. Please let me know if you are still having problems! |
@technicalpickles Just in case someone else ends up here... I was having an issue where Hubot was starting but not connecting to Slack, so I tried adding |
This commit changes the name of the slack API variable (it's not a webhook , but an API token), and removes the @slack_client npm package from the external scripts. HT slackapi/hubot-slack#197 (comment)
Hi,I keep getting the below issue 'Object is not a function' when I load the Hubot-slack module.
Can anyone help with this?
mybot> [Tue Jun 02 2015 19:15:23 GMT+0100 (BST)] ERROR Error loading scripts from npm package - TypeError: object is not a function
at Robot.loadExternalScripts (/home/sam/mybot/node_modules/hubot/src/robot.coffee:263:11, :212:39)
at /home/sam/mybot/node_modules/hubot/bin/hubot:119:11, :123:26
at fs.js:334:14
at FSReqWrap.oncomplete (fs.js:95:15)
Cheers,
Sam
The text was updated successfully, but these errors were encountered: