Skip to content
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

Error: write EPIPE #4281

Closed
pugnascotia opened this issue Jun 2, 2020 · 5 comments
Closed

Error: write EPIPE #4281

pugnascotia opened this issue Jun 2, 2020 · 5 comments
Labels

Comments

@pugnascotia
Copy link

🐛 bug report

Description of the problem

I can't use my repo as a template. It used to work in the past.

How has this issue affected you? What are you trying to accomplish?

The Next build process appear to work although it takes a while, and the browser pane reports a 502. Then once the console claims the site is ready and I refresh the browser pane, I get this in the console:

events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at ChildProcess.target._send (internal/child_process.js:762:20)
    at ChildProcess.target.send (internal/child_process.js:634:19)
    at ChildProcessWorker.initialize (/sandbox/node_modules/jest-worker/build/workers/ChildProcessWorker.js:181:11)
    at ChildProcessWorker.onExit (/sandbox/node_modules/jest-worker/build/workers/ChildProcessWorker.js:263:12)
    at ChildProcess.emit (events.js:198:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
Emitted 'error' event at:
    at process.nextTick (internal/child_process.js:766:39)
    at process._tickCallback (internal/process/next_tick.js:61:11)

Link to sandbox: https://codesandbox.io/s/github/elastic/next-eui-starter

Your Environment

Software Name/Version
Сodesandbox
Browser Firefox 76.0
Operating System Mac OSX 10.14.6
@lbogdan lbogdan added the SSE label Jun 5, 2020
@lbogdan
Copy link
Contributor

lbogdan commented Jun 5, 2020

Hey @pugnascotia ,

Sorry you're running into this issue, unfortunately it's a memory one: we're hard-limiting the sandbox containers to 1GB of memory, and your app is trying to use more than that and it gets OOM (out-of-memory) killed - EPIPE and exit code 137 are usually symptoms of that.

It used to work in the past.

That's weird, maybe packages were updated and as a result it's using more memory?

@github-actions
Copy link

github-actions bot commented Sep 4, 2020

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

@lbogdan
Copy link
Contributor

lbogdan commented Sep 22, 2020

Hey @pugnascotia ,

I just tried this again and it seems to be working, can you confirm it's working for you, too? Thanks!

@lbogdan lbogdan reopened this Sep 22, 2020
@pugnascotia
Copy link
Author

Oh wow, so it does. I've updated the dependencies (notably Next.js) since I raised this issue, it must have helped. Thanks!

@lbogdan
Copy link
Contributor

lbogdan commented Sep 22, 2020

Glad it works! (Re)closing this for now, please reopen if you experience further issues.

@lbogdan lbogdan closed this as completed Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants