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.

"Error: write EPIPE" in Travis

See original GitHub issue

Version

3.0.0-rc.11

Node and OS info

Node 8.11.3 / yarn 1.9.4 / Travis Trusty without sudo

Steps to reproduce

In a Travis environment:

  • Run yarn build (which runs vue-cli-service build --modern)
  • Or run yarn test:unit (which runs vue-cli-service test:unit --runInBand)

What is expected?

It should not throw errors.

What is actually happening?

This is yarn build output:

Starting type checking service...
Using 1 worker with 2048MB memory limit
events.js:183
      throw er; // Unhandled 'error' event
      ^
Error: write EPIPE
    at _errnoException (util.js:992:11)
    at WriteWrap.afterWrite [as oncomplete] (net.js:864:14)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
{ Error: EPIPE: broken pipe, write errno: -32, code: 'EPIPE', syscall: 'write' }
{ Error: EPIPE: broken pipe, write errno: -32, code: 'EPIPE', syscall: 'write' }
{ Error: EPIPE: broken pipe, write errno: -32, code: 'EPIPE', syscall: 'write' }

This problem just happens after migrating our code base from PWA template to vue-cli 3.

I don’t know if it’s related to vue-cli-service or yarn or Travis, because I have another command (yarn lint which runs vue-cli-service lint) and it’s working properly.

Also, sometimes it works fine… there is no errors… 🤔

By the way, I don’t have this kind of problem when running those commands:

  • on my laptop: Node 9.11.2, yarn 1.7.0, Debian 9.5
  • on production server: Node 8.11.3, yarn 1.9.2, Debian 9.5

Thanks you!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
LinusBorgcommented, Sep 14, 2018

Would it help to set parallel to false (= no thread-loader), or is that even slower than threadloader + full vm?

https://cli.vuejs.org/config/#parallel

1reaction
jvanstcommented, Sep 14, 2018

Boot-times are about 30s longer, a trade off I’m willing to take for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: write EPIPE node8 - Stack Overflow
Error: write EPIPE node8 ... it is just one line adding which travis and local error differently, the first link.
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 >
Untitled
`EPIPE`: The remote side of the stream being written has been closed. ###### followRedirect Type: `boolean`<br> Default: `true` Defines if redirect ...
Read more >
node:events:505 unhandled 'error' event - You.com - You.com
node:events:505 throw er; // Unhandled 'error' event code: 'ECONNRESET' ... It's a permission issue, you can just write sudo as a prefix before...
Read more >
Renovate Bot Package Diff
+ throw new Error(`Failed to parse body of type '${typeof body}' as ... [![Build Status: Linux](https://travis-ci.org/sindresorhus/got.svg?branch=master)]( ...
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