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

Index file is empty #1

Open
colossus9 opened this issue Nov 12, 2016 · 0 comments
Open

Index file is empty #1

colossus9 opened this issue Nov 12, 2016 · 0 comments

Comments

@colossus9
Copy link

While installing the hubot-freshdesk module using npm (for usage with a hubot), the following error is returned when the hubot is started:

[Sat Nov 12 2016 21:41:51 GMT+0000 (UTC)] DEBUG Loading external-scripts from npm packages
[Sat Nov 12 2016 21:41:51 GMT+0000 (UTC)] ERROR Error loading scripts from npm package - TypeError: require(...) is not a function
  at Robot.loadExternalScripts (/opt/hubot-rafiki/node_modules/hubot/src/robot.coffee:401:11, <js>:272:39)
  at /opt/hubot-rafiki/node_modules/hubot/bin/hubot:152:11, <js>:159:26
  at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

This is because index.coffee is empty. I will propose a PR to fix this shortly.

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

No branches or pull requests

1 participant