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
file missing repl #194
Comments
Am I missing a step or something? |
Hey @godpow, Thanks for reaching out. This seems to be a pokemon-showdown issue - if you do not find a fix, I would recommend reaching out to them. |
One other thing that may be helpful: it looks like you are using windows. I would recommend taking a look at WLS, as it gives you access to a linux terminal directly from your windows environment, which makes working with libraries like pokemon-showdown a lot easier. |
I installed ubuntu on a spare hard drive seems like the same issue |
I can get on showdown just fine in a browser. |
Which version of |
On windows and linux node 14 |
Can you try upgrading to node 15? |
I didn't see node 15 for windows so I upgraded to 16 still same issue on windows. I'll try it on linux in a while |
@godpow I tried running my ci scripts and encountered the same issue - I think there is something broken in PS's current main branch, or they recently changed something that broke the installation steps I'm using. |
Ok hopefully it'll be fixed soon! |
C:\Users\CyberKira\Documents\pokemon showdown\pokemon-showdown>node pokemon-showdown start --no-security it seems like making all of the directories fixed the issue. I have another question though how do you connect the bot to showdown and not a local server? |
Good job! Thanks again for bringing up this issue, it was a good catch. |
I have both pokemon-showdown and poke-env but I'm a bit confused on where to go from here. I looked in the server configuration and replaced the localhost:8080 with https://play.pokemonshowdown.com/action.php?. Not sure what to do to be honest. |
When instantiating a |
C:\Users\CyberKira\Documents\pokemon showdown\pokemon-showdown>node pokemon-showdown start --no-security
RESTORE CHATROOM: lobby
RESTORE CHATROOM: staff
CRASH: Error: ENOENT: no such file or directory, scandir 'C:\Users\CyberKira\Documents\pokemon showdown\pokemon-showdown\logs\repl'
at Object.readdirSync (fs.js:1043:3)
at _class.start (C:\Users\CyberKira\Documents\pokemon showdown\pokemon-showdown\lib\repl.ts:12:16)
at Object. (C:\Users\CyberKira\Documents\pokemon showdown\pokemon-showdown\server\index.ts:173:11)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Module.m._compile (C:\Users\CyberKira\Documents\pokemon showdown\pokemon-showdown\node_modules\ts-node\src\index.ts:1310:23)
at Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Object.require.extensions. [as .ts] (C:\Users\CyberKira\Documents\pokemon showdown\pokemon-showdown\node_modules\ts-node\src\index.ts:1313:12)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Object. (C:\Users\CyberKira\Documents\pokemon showdown\pokemon-showdown\pokemon-showdown:134:22)
SUBCRASH: Error: ENOENT: no such file or directory, open 'C:\Users\CyberKira\Documents\pokemon showdown\pokemon-showdown\logs\errors.txt'
Worker 1 now listening on 0.0.0.0:8000
Test your server at http://localhost:8000
The text was updated successfully, but these errors were encountered: