|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Join Date: Aug 2012
Posts: 2
|
I am currently running a 64-bit operation system on Windows 7, and I was wondering how do you make a PS server? I got the source files, but all the instructions are in Apple. Please help asap! :D
|
|
|
|
|
|
#2 |
|
>> BEGIN POSTBIT
![]() ![]() ![]()
Super Moderator
Join Date: Aug 2011
Posts: 1,134
>> END POSTBIT
|
The instructions are in POSIX, to be exact, and though I've never tried them myself, they should theoretically work on a Windows command line without any modifications.
Are you looking at these instructions? https://github.com/Zarel/Pokemon-Sho...ster/README.md
__________________
Pokemon Showdown | Replay player | No, I am not impressed that you know that my name is Guangcong Luo. The PS website says "Copyright Guangcong Luo" at the bottom, ffs. |
|
|
|
|
|
#3 |
|
Join Date: Aug 2012
Posts: 2
|
I installed node.js and npm (by default) but the node command doesnt work on Command Prompt or Node.js. :(
|
|
|
|
|
|
#4 |
|
>> BEGIN POSTBIT
![]() ![]() ![]()
Super Moderator
Join Date: Aug 2011
Posts: 1,134
>> END POSTBIT
|
Well, I don't have a very good idea of what to do, then. Try opening app.js with Node?
__________________
Pokemon Showdown | Replay player | No, I am not impressed that you know that my name is Guangcong Luo. The PS website says "Copyright Guangcong Luo" at the bottom, ffs. |
|
|
|
|
|
#5 |
|
Join Date: Sep 2012
Posts: 1
|
Even I have the same problem
I tried everything above but not done can anyone help me!!! |
|
|
|
|
|
#6 | |
|
Join Date: Dec 2012
Posts: 2
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Join Date: Aug 2012
Posts: 15
|
Hey zarel, I was looking at the link and it looked like it was made for Linux, would I be right in making that assumption? That those instructions work well for Linux distros also?
__________________
Just havinfun... |
|
|
|
|
|
#8 | |
|
>> BEGIN POSTBIT
![]() ![]() ![]()
Super Moderator
Join Date: Aug 2011
Posts: 1,134
>> END POSTBIT
|
Quote:
POSIX is a family of operating systems that includes Linux, Mac OS X, BSD, Unix, etc...
__________________
Pokemon Showdown | Replay player | No, I am not impressed that you know that my name is Guangcong Luo. The PS website says "Copyright Guangcong Luo" at the bottom, ffs. |
|
|
|
|
|
|
#9 |
|
Join Date: Aug 2012
Posts: 15
|
Perfect.
However when i do npm install in terminal it gives me several errors. Edit: I fixed some of the errors however where would I find and set up SockJS?
__________________
Just havinfun... Last edited by Havinfun85; Jan 21st, 2013 at 10:19:01 PM. |
|
|
|
|
|
#10 |
|
>> BEGIN POSTBIT
![]() ![]() ![]()
Super Moderator
Join Date: Aug 2011
Posts: 1,134
>> END POSTBIT
|
SockJS should be automatically installed when you run npm install.
The error message you PMed me makes me believe there's something wrong with npm's servers; it should work if you try again tomorrow.
__________________
Pokemon Showdown | Replay player | No, I am not impressed that you know that my name is Guangcong Luo. The PS website says "Copyright Guangcong Luo" at the bottom, ffs. |
|
|
|
|
|
#11 |
|
Join Date: Jan 2013
Posts: 4
|
I keep getting this error help
> D:/Pokemon/app.js SyntaxError: Invalid flags supplied to RegExp constructor 'app' at new RegExp (unknown source) at repl:1:1 at REPLServer.self.eval (repl.js:109:21) at rli.on.self.bufferedCmd (repl.js:258:20) at REPLServer.self.eval (repl.js:116:5) at Interface.<anonymous> (repl.js:248:12) at Interface.EventEmitter.emit (events.js:96:17) at Interface._onLine (readline.js:200:10) at Interface._line (readline.js:518:8) at Interface._ttyWrite (readline.js:736:14) > |
|
|
|
|
|
#12 |
|
Join Date: Jan 2013
Posts: 46
Under a rock
|
when i put in node app.js i get ... and then i put npm install and it keeps going ...
im i doing something wroung?
__________________
Am I interrupting something? ~ Raichoice My youtube where you will find LPs and Battles Its goddamn cold over here >.< |
|
|
|
|
|
#13 | |
|
>> BEGIN POSTBIT
![]() ![]() ![]()
Super Moderator
Join Date: Aug 2011
Posts: 1,134
>> END POSTBIT
|
Quote:
You should be typing it into a commandline with Pokemon Showdown's directory as its working directory. Also, npm install goes first. :P
__________________
Pokemon Showdown | Replay player | No, I am not impressed that you know that my name is Guangcong Luo. The PS website says "Copyright Guangcong Luo" at the bottom, ffs. |
|
|
|
|
![]() |
| Thread Tools | |
|
|