AgustinSRG / Showdown-ChatBot

Pokemon Showdown Bot for Node JS
Other
5 stars 18 forks source link

npm start fails on clean install #4

Closed LostGeorge closed 2 years ago

LostGeorge commented 2 years ago

Hi,

On a clean git clone --> npm install of this, when I try npm start, it instantly exits with this output:

> showdown-chatbot@2.5.0 start [REDACTED]
> node run-forever

This is a forever loop to mantain the bot running. Use CTRL + C to exit.

Running "node showdown-chatbot"...
Process exited with code null 

I am running on Windows 10, with node.js version 14.16.0 and npm version 6.14.11. If it is relevant, I am intending to connect this bot to a local pokemon showdown server in order to run /clear periodically.

Let me know if there is any other information I can provide to help resolve this.

AgustinSRG commented 2 years ago

I think the problem is that the run-forever script does not work properly on Windows without Cygwin installed. I'll fix it as soon as possible. For now you can also start the bot directly by typing in the cmd:

node showdown-chatbot

That should work. If it does not, please provide any info of any exception it throws.

AgustinSRG commented 2 years ago

2e1a42d909baeb928de94fd81ef68455405fe7b3 should have fixed the problem.