question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

test koa@next throw Error: write EPIPE

See original GitHub issue

test koa@next

'use string'

var Koa = require('koa')
var app = new Koa()

app.use(function (ctx, next) {
    ctx.body = { hello: 'world' }
})

app.listen(3000)

throw Error: write EPIPE

  Error: write EPIPE
      at exports._errnoException (util.js:1022:11)
      at WriteWrap.afterWrite [as oncomplete] (net.js:804:14)

is this autocannon’s issue?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
hueniversecommented, Dec 20, 2017

This is definitely a Koa issue. I am running them on two separate boxes. Koa keep spitting out this error.

0reactions
txchencommented, Oct 31, 2018

I got same problem, autocannon -> fastify

Read more comments on GitHub >

github_iconTop Results From Across the Web

events.js:288 Error: write EPIPE when executing tests with Jest
In one of the projects it is correctly setup, but when I added React Testing Library and updated dependencies in this project, I...
Read more >
write EPIPE error on generating html to pdf
Hi Team, I'm trying to generate html to pdf using html-pdf npm . Please check below code const invoicePath = path.resolve(path.join(__dirname,
Read more >
what is a "write EPIPE" error? - Google Groups
Any ideas on what I'm doing wrong? EPIPE means that writing of (presumably) the HTTP request failed because the other end closed the...
Read more >
StencilJs fails running dev server Error: write EPIPE
I have already tried to reinstall and downgrade node and use admin privileges on the shell where I execute the command,but no luck...
Read more >
80% of the time build fails with Error: write EPIPE error
Building a JavaScript application using Create React App (yarn build) fails in ~80% of the time with the following error: Error: write EPIPE...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found