Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Issue with coffeescript upgrade #16

Open
youssefga opened this issue May 4, 2018 · 0 comments
Open

Issue with coffeescript upgrade #16

youssefga opened this issue May 4, 2018 · 0 comments

Comments

@youssefga
Copy link

When you runbin/hubot
you may get this error, depending on your coffeescript version

Github/hyperledger-rocket-chat-hubot/node_modules/hubot/src/brain.coffee:10:5:
error: Can't reference 'this' before calling super in derived class constructors
    @data =_

You may try to resolve this, but there are quite a few fixes to do. Downgrading coffeescript is quick and easy:

npm uninstall coffeescript
npm install -g [email protected]

I also got this error:
[Sat May 05 2018 00:39:50 GMT+0300 (EAT)] ERROR hubot-heroku-keepalive included, but missing HUBOT_HEROKU_KEEPALIVE_URL. heroku config:set HUBOT_HEROKU_KEEPALIVE_URL=$(heroku apps:info -s | grep web.url | cut -d= -f2)`

And one way to fix it is:
npm uninstall hubot-heroku-keepalive --save

Then go to the file: external-scripts.json and delete hubot-heroku-keepalive

run bin/hubot and it will work fine

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

No branches or pull requests

1 participant