Skip to content
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

Repl Debugging Folder Causes Starting Server to Crash #8770

Open
haasj22 opened this issue May 12, 2022 · 0 comments
Open

Repl Debugging Folder Causes Starting Server to Crash #8770

haasj22 opened this issue May 12, 2022 · 0 comments

Comments

@haasj22
Copy link

haasj22 commented May 12, 2022

After building the web server with node.js with v18.1 (I tried 15 and 12 and got similar issues), I got at least one of the following error (appended to bottom) when running my program causing my server to crash.

My experience with type script is limited, but for some reason it was trying to synchronize repl files that did not exist. I was able to fix the errors by turning repl off in the config.ts, but it's weird that the issue exists at all. I wonder if its partially OS related as I am using a Mac and other people seem to not be having this issue. Perhaps someone more knowledgable will have a better idea.

Error: ENOENT: no such file or directory, chmod '/Users/johnhaas/Dropbox/My Mac (John’s MacBook Pro)/Downloads/pokemon-showdown/logs/repl/team-validator-2727'
at Object.chmodSync (node:fs:1851:3)
at Server. (/Users/johnhaas/Dropbox/My Mac (John’s MacBook Pro)/Downloads/pokemon-showdown/lib/repl.ts:114:8)
at Object.onceWrapper (node:events:641:28)
at Server.emit (node:events:527:28)
at Server.emit (node:domain:475:12)
at emitListeningNT (node:net:1414:10)
at processTicksAndRejections (node:internal/process/task_queues:81:21) {
errno: -2,
syscall: 'chmod',
code: 'ENOENT',
path: '/Users/johnhaas/Dropbox/My Mac (John’s MacBook Pro)/Downloads/pokemon-showdown/logs/repl/team-validator-2727'
}

@smogon smogon deleted a comment May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant