`server.js` broken 😢
- Dominant language
- JavaScript
- Stars
- 36
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Just ran:
```sh
npm start
```
Got:
```
> word-finder@1.0.3 start
> node server.js
node http server listening on http://localhost:3000
imported a bunch of words! >> 235887
request.url: /
node:events:496
throw er; // Unhandled 'error' event
^
Error [ERR_STREAM_WRITE_AFTER_END]: write after end
at ServerResponse.end (node:_http_outgoing:1021:15)
at Server.handler (/autocomplete/server.js:29:14)
at Server.emit (node:events:518:28)
at parserOnIncoming (node:_http_server:1143:12)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
Emitted 'error' event on ServerResponse instance at:
at emitErrorNt (node:_http_outgoing:857:9)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'ERR_STREAM_WRITE_AFTER_END'
}
```
Using: `Node.js v20.11.0`
# Context:
I'm revisiting this project to update it ahead of working on a `search` feature for `day-job work-work` ... 🏦 🔍
Just want to have a stable baseline in `JS` that I can point people to a basic example ... 🔗
Only going to spend `T25m` on trying to get this working again. 🧑💻 ⏳
If I can't get it working, will just update the `README.md` and archive. 📂
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.