Resolving ETIMEDOUT Errors in Vite during Local Development #313
Closed
neel-raval
started this conversation in
General
Replies: 1 comment 3 replies
-
Hi! That's a strange issue and I'm surprised of it given the very standard setup (macOS, recent node & Vite version). Vite doesn't need an internet connection to work, so there is probably an issue with an access to another ressource. You need to find a way to debug which system call triggered this timeout, I'm surprised that don't have more things on the stacktrace. Does this error crash the server or just add noise to the logs? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm currently encountering persistent
ETIMEDOUT
errors when trying to run my Vite development server. This issue occurs intermittently but frequently enough to disrupt the development process. The error seems related to Vite's network operations or possibly file system access limitations.Error Details:
Error: ETIMEDOUT: connection timed out, read
Emitted 'error' event on ReadStream instance at:
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -60,
code: 'ETIMEDOUT',
syscall: 'read'
}
Steps Taken:
node_modules
and reinstalled all dependencies.System Configuration:
I am looking for any advice, particularly from those who might have faced and resolved similar issues in Vite or related development environments. Insights into potential configuration changes, system settings adjustments, or even debugging techniques would be greatly appreciated.
Thank you in advance for your help and looking forward to your suggestions!
Beta Was this translation helpful? Give feedback.
All reactions