Pipelines maxBuffer exceeded


I've been struggling for the last couple of days with this error:


      throw er; // Unhandled 'error' event
Error: stdout maxBuffer exceeded
    at Socket.<anonymous> (child_process.js:259:14)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    at Pipe.onread (net.js:548:20)

I haven't run my pipelines for the last month but last week I needed to deploy a new version of my code and it started failing.


My pipelines basically consists in installing some jspm/bower/npm dependencies, bundle my code and commit this to an external server.

I've tried different solutions like the "--silent" option in npm and bower, exporting the output of these package managers to an external log file, etc. But it keeps breaking at this point... I've run the same commands locally in my computer and everything works smoothly...

Can anyone help me?

1 answer

0 votes

I'm not aware of any similar issues; if you reach out via https://getsupport.atlassian.com we can take a look at your specific issue.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

652 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot