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
node 7.5 / edge 7.10.1 - TypeError: require(...) is not a function #6
Comments
I had the same problem. slackapi/hubot-slack#197 (comment) solved it for me: Remove the slack client external script. Hope this helps :) |
Thanks for advice @brucellino. Unfortunately, it didn't work for me. I didn't have I continue to try and upgrade it, but I'm just soo unknowledgeable about nodejs that I'm not moving very fast. The last effort was to:
I'll just keep trying. |
Hello,
Thanks for this excellent tooling.
We have a working edition of hubot installed using PoshHubot, which is running on node 5.10.1 / edge 5.0.0 / edge-ps 0.1.0-pre.
However, I tried to do a new installation and am getting errors. Upon install, chocolatey did it's job of grabbing the latest node version, 7.5. But, edge 5.0.0 isn't precompiled to work with node 7.5, so I had Install-HubotScript get the latest version, 7.10.1. Unfortunately, I get back this error:
(note: I updated node_modules/hubot/src/robot.coffee:401 to add
@logger.debug "Loading #{pkg}"
)config.json
setup script (I built a clean VM on Azure and ran this on it)
sysbot.log
I'm very new to node & edge. From the best I can tell, google results are saying that
require('edge')
should be returning a function which is invoked onrobot.coffee:401
. But, for some reason, this version of edge isn't returning a function?Any advice would be great. Thanks!
The text was updated successfully, but these errors were encountered: