Skip to content

TypeError: require(...) is not a function #22

@BoxingOctopus

Description

@BoxingOctopus

Hubot won't start and throws the following error:

ubuntu@chat ~/hubot/markov $ ./bin/hubot -a lets-chat
connected
Joined Hubot Lab
[Mon Dec 05 2016 17:34:59 GMT+0000 (UTC)] ERROR Error loading scripts from npm package - TypeError: require(...) is not a function
  at Robot.loadExternalScripts (/home/ubuntu/hubot/markov/node_modules/hubot/src/robot.coffee:401:11, <js>:272:39)
  at /home/ubuntu/hubot/markov/node_modules/hubot/bin/hubot:152:11, <js>:159:26
  at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:415:3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions