Closed gregunderscorem closed 7 years ago
What version of Node are you running?
If you don't know, type:
node -v
v4.2.1
Is there any particular reason you're running that version?
Specifically, the error you're seeing is because the Node code for the bot uses some ES2015 things, such as optional parameters. I'd recommend upgrading to the newest version possible to solve this.
Ah good, my suspicion was right! I'm running it because it's the version that's "up to date" in my package manager apparently, I'll manually update it. Sometimes 'apt-get update' just isn't enough.
Thanks for the quick reply.
No problem, let me know if you have any other issues!
I'm trying to run this on a raspberry pi and am running into an issue when I try to launch, I'm assuming that it's because some version of node or something is too old, but I'm unsure.
to be clear: dfrotz is installed and runs. I tried both the npm install and manual install of discord-text-adventure-bot, both went smooth. But then when I launch either install I get the following error:
running 'node --use_strict app.js' returns:
I've run into errors before while running programs on the raspberry pi where the packages I was using were a bit out of date. I'm assuming something similar is here, but don't know enough to figure out the specifics. Any ideas?
And thanks. This is a cool project.