You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ 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'
}
Have tried versions 13.0.2 and older ones like 0.12.3 (was working with 12.14.0 in my previous laptop). Also have tried changing port, same result either way.
I finally got it to work with node version 17.0.0 but my app does not support that version. Is there something I can change to get it to work with node version 12.14.0?
The text was updated successfully, but these errors were encountered:
Environment Versions
$ node --version
12.14.0$ http-server --version
14.1.1Steps to reproduce
http-server
Expected result
Server starting successfully
Actual result
Have tried versions 13.0.2 and older ones like 0.12.3 (was working with 12.14.0 in my previous laptop). Also have tried changing port, same result either way.
I finally got it to work with node version 17.0.0 but my app does not support that version. Is there something I can change to get it to work with node version 12.14.0?
The text was updated successfully, but these errors were encountered: