Skip to content
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

help #617

Open
Faris90 opened this issue Mar 2, 2018 · 3 comments
Open

help #617

Faris90 opened this issue Mar 2, 2018 · 3 comments

Comments

@Faris90
Copy link

Faris90 commented Mar 2, 2018

I am using an old version of cigar:


/ () __ _ __ _ _ __| _ \ _ __ ___ () ___ | |
| | | |/ _ |/ _ | '
| |
) | '/ _ | |/ _ / | |
| |
| | (| | (| | | | /| | | () | | / (| |
_
||_, |_,|| || |_| _
// |_|_|_|
|
/ - Better than Ogar! |/

[Master] Master Server started at port port 1111
[Game:1] Game Server started at port 8080
[Game:1] Stats Server started at port 5555
[Game:1] Current game mode is Free For All
timers.js:348
throw new TypeError('"callback" argument must be a function');
^

TypeError: "callback" argument must be a function
at exports.setTimeout (timers.js:348:11)
at GameServer.mainLoop (/home/ubuntu/workspace/server/GameServer.js:440:13)
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)

How could I fix it, I dont want to use something else

@TopoR1
Copy link

TopoR1 commented Mar 9, 2018

Download 5 version of NodeJS and everything will work.

@Faris90
Copy link
Author

Faris90 commented Mar 23, 2018

I use cloud9

@SuperOP535
Copy link

then do nvm install yourversion
and nvm alias default yourversion
@Faris90

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

No branches or pull requests

3 participants