smogon / pokemon-showdown

Pokémon battle simulator.
https://pokemonshowdown.com
MIT License
4.77k stars 2.79k forks source link

My server won't start because of this. #3916

Closed ghost closed 7 years ago

ghost commented 7 years ago

screenshot_2

Asheviere commented 7 years ago

Update your node.js version. Look in the readme to see the minimum required version.

Zarel commented 7 years ago

Why are you running node app.js? Who told you to? It doesn't say node app.js anywhere in the README or anywhere else.

AustinXII commented 7 years ago

He must be used to the old way but still you should read the updated README before trying to develop a server again

Zarel commented 7 years ago

Maybe we should rename app.js to server.js, as is I think the standard these days.

Slayer95 commented 7 years ago

node app.js is still what npm start does https://github.com/Zarel/Pokemon-Showdown/blob/master/package.json#L22

Zarel commented 7 years ago

@Slayer95 should that be changed to node pokemon-showdown or pokemon-showdown?

Slayer95 commented 7 years ago

For Windows support, the first option. For Debian support, the second option (since the binary is named nodejs.)

Zarel commented 7 years ago

........................................................................

Zarel commented 7 years ago

Can't npm figure it out on Windows? :|

Slayer95 commented 7 years ago

No, that invokes the file as a JScript executable :[

Zarel commented 7 years ago

Windows it is; Debian needs to get their shit together I guess

Slayer95 commented 7 years ago

Goods news is: Debian is getting fixed! https://lists.debian.org/debian-devel-announce/2017/07/msg00006.html