-
Notifications
You must be signed in to change notification settings - Fork 101
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
Server crashes on starting #37
Comments
try using node at least 16
Am Di., 9. Aug. 2022 um 11:36 Uhr schrieb Eleni Afiontzi <
***@***.***>:
… Hello,
I am trying to use http-server with node version 12.14.0, when I start the
server I get
$ http-server
Starting up http-server, serving ./
http-server version: 14.1.1
http-server settings:
CORS: disabled
Cache: 3600 seconds
Connection Timeout: 120 seconds
Directory Listings: visible
AutoIndex: visible
Serve GZIP Files: false
Serve Brotli Files: false
Default File Extension: none
Available on:
http://153.89.58.106:8080
http://192.168.1.12:8080
http://127.0.0.1:8080
Hit CTRL-C to stop the server
events.js:187
throw er; // Unhandled 'error' event
^
Error: read EBADF
at Pipe.onStreamRead (internal/stream_base_commons.js:201:27)
Emitted 'error' event on Socket instance at:
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: 'EBADF',
code: 'EBADF',
syscall: 'read'
}
As seen here <#29> I
have tried installing the previous version 13.0.2 but the problem persists
$ http-server
Starting up http-server, serving ./
http-server settings:
CORS: disabled
Cache: 3600 seconds
Connection Timeout: 120 seconds
Directory Listings: visible
AutoIndex: visible
Serve GZIP Files: false
Serve Brotli Files: false
Default File Extension: none
Available on:
http://153.89.58.106:8080
http://192.168.1.12:8080
http://127.0.0.1:8080
Hit CTRL-C to stop the server
events.js:187
throw er; // Unhandled 'error' event
^
Error: read EBADF
at Pipe.onStreamRead (internal/stream_base_commons.js:201:27)
Emitted 'error' event on Socket instance at:
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: 'EBADF',
code: 'EBADF',
syscall: 'read'
}
I also tried a different port from 8080, same results
Do you have any idea why this is happening or what can I do?
—
Reply to this email directly, view it on GitHub
<#37>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARSOYPXF3AMQO26CHZ2EK3VYIRCVANCNFSM56AC6YVQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sorry I opened the issue in the wrong repo, will close, thanks for the answer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am trying to use http-server with node version 12.14.0, when I start the server I get
As seen here I have tried installing the previous version 13.0.2 but the problem persists
I also tried a different port from 8080, same results
Do you have any idea why this is happening or what can I do?
The text was updated successfully, but these errors were encountered: