lerna: [Bug] stdout maxBuffer exceeded

Hi,

while preparing my project to build with lerna I’ll encountered this error. Any hint on what is going on here? I’ve done lerna boostrap before. It may be relevant to note that the build script in my packages are compiled using typescript and I’m using debian linux with node 4.x.

~/source/paeckchen (multiple-packages)$ ./node_modules/.bin/lerna run build
Lerna v2.0.0-beta.23
Independent Versioning Mode
Errored while running npm script 'build' in 'paeckchen-core'
Error: stdout maxBuffer exceeded
    at Socket.<anonymous> (child_process.js:266:14)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:153:18)
    at Socket.Readable.push (_stream_readable.js:111:10)
    at Pipe.onread (net.js:531:20)
Errored while running RunCommand.execute
Error: stdout maxBuffer exceeded
    at Socket.<anonymous> (child_process.js:266:14)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:153:18)
    at Socket.Readable.push (_stream_readable.js:111:10)
    at Pipe.onread (net.js:531:20)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 2
  • Comments: 22 (13 by maintainers)

Most upvoted comments

@pepe79 lerna bootstrap --stream did not work for me with 2.5.1.


Seems it was only supported in run command. @hzoo Can we have --stream for bootstrap?

I think a sane default would be some megabyte but there should be a configuration option in the lerna.json to define it.

I would like to avoid the default solution to things always being another config option. I want to keep things simple and not end up with users having hundreds of options to configure