Installing Showdown on Ubuntu (12.10)

Helloz,

I'm running on ubuntu and i would like to setup PS.
I trying to install rpm, it's ok. Then, I run this command:

# node app.js
and i get this error:

root@taytayclicli-MS-7640:/var/www/PS# node app.js 8000
NEW LOBBY: lobby

node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object #<Object> has no method 'fork'
at Object.<anonymous> (/var/www/PS/verifier.js:14:39)
at Module._compile (module.js:411:26)
at Object..js (module.js:417:10)
at Module.load (module.js:343:31)
at Function._load (module.js:302:12)
at require (module.js:355:19)
at Object.<anonymous> (/var/www/PS/app.js:359:12)
at Module._compile (module.js:411:26)
at Object..js (module.js:417:10)
at Module.load (module.js:343:31)
What's the problem ?

Regards.
 

Zarel

Not a Yuyuko fan
is a Site Content Manageris a Battle Simulator Administratoris a Programmeris a Pokemon Researcheris an Administrator
Creator of PS
It sounds like you're using an old version of Node. Try installing a newer version?
 

Zarel

Not a Yuyuko fan
is a Site Content Manageris a Battle Simulator Administratoris a Programmeris a Pokemon Researcheris an Administrator
Creator of PS
Could you tell me what version you have? You can check with:

node --version
 
Oh I found what it doesn't work !

My problem is solved, because the command is not "node app.js 8000" but "nodejs app.js 8000".

Thank you so much ;)
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top