Closed fcasco closed 7 years ago
self.opponent = self.players[playerIndex === 0 ? : 1 : 0];
Looks like your copy may have gotten an extra :
inserted by accident. Is it possible you opened the file and added the colon by accident? ? : 1 : 0
should be ? 1 : 0
, which is how it appears when I look at the sour cecode in question.
Hope this helps!
Unfortunately I haven't touched this project in over a year, and am not working on it at all, so I won't really be able to provide more support than this, but you're welcome to do whatever you'd like with it. :)
I just installed the package with npm, didn't touch any of the files. I fixed my copy locally after seeing the error. I still got some other error, if I can make it work maybe I'll make a fork and push the changes I made.
Thanks for your reply
Hi, I was trying to user hearthsone-log-reader and this error came up.
This is my code:
And this is the output:
I'm running it no Arch Linux with Node v8.1.2
Hope you can help me sort it out.