-
Notifications
You must be signed in to change notification settings - Fork 6
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
bot.js doesn't run #8
Comments
Googling for
This seems to work around one
I assume this syntax is unsupported by |
It looks like arrow functions came with NodeJS 4.0.0, which supports what you found in |
I upgraded all of the dependencies on my dev machine and it seems to run okay with Node 6.9.5 (and I presume later). I could poke at getting this running on prod? |
@noffle I had trouble running the bot using v8.9.3 (which is what |
And if handling a missing serial port really is causing my problem running on 8.9.3, then that should be tracked as a totally separate bug. |
What was the trouble you hit? I ended up upgrading to the latest |
Serial support has now been removed (see #9). The bot runs on a system called |
Removing serial support and updating to node 8.9.3 fixes this problem for me. |
Instead of the bot running, this happens:
This appears to be due to the version of irc-colors which is currently being pulled in by
npm install
when it resolves the dependencies of irc. We require"irc": "^0.3.12"
which requires"irc-colors": "^1.1.0"
. which ends up being resolved toirc
1.4.1. The bot running in production right now hasirc-colors
version 1.2.0.I don't know enough about node to really understand why this is happening, since
irc-colors
1.4.1 has the following in itspackage.json
:I assume this means that
irc-colors
1.4.1 is only expected to work onnode
versions 4 and later. Since we're using 0.10.37, it seems like an error that this version of the package is being selected.The text was updated successfully, but these errors were encountered: