angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

stdout maxBuffer exceeded

Open chaiyuxin opened this issue 9 years ago • 8 comments

OS?

Mac OSX (Yosemite)

Versions.

angular-cli: 1.0.0-beta.22-1 node: 5.3.0

Repro steps.

New project just trying to push and test

The log given by the failure.

stdout maxBuffer exceeded Error: stdout maxBuffer exceeded at Socket. (child_process.js:266:14) at emitOne (events.js:77:13) at Socket.emit (events.js:169:7) at readableAddChunk (_stream_readable.js:146:16) at Socket.Readable.push (_stream_readable.js:110:10) at Pipe.onread (net.js:523:20)

Mention any other details that might be useful.

After a ng github-pages:deploy, the build succeed but can't upload it due to that error, i've been trying on multiple repo i get the same error and the project have just been created, nothing custom.

Do you guys had this error ? Any solution ?

Thanks ! :)

chaiyuxin avatar Dec 18 '16 04:12 chaiyuxin

Yea same here! I have absolutely no idea whats going on!

C-4PO avatar Dec 27 '16 02:12 C-4PO

Never see that error myself. Does this happen with a brand new project? Does it only happen on big projects?

filipesilva avatar Dec 30 '16 14:12 filipesilva

I have the same issue. Here is my repro: https://github.com/petermezei/angular2-cli

petermezei avatar Jan 15 '17 11:01 petermezei

My project is just an init project.

petermezei avatar Jan 15 '17 11:01 petermezei

Did you found hove to overcome this?

donvadicastro avatar Jan 15 '17 18:01 donvadicastro

Hi guys, I found where this issue might come: Node mayBuffer size for child_process is too small. Once I wrote my own git commands using node simple-git I got the same error. When I set my mayBuffer value to 500kb it works smoothly.

So somewhere you should set the maxBuffer size higher in the process.

petermezei avatar Jan 16 '17 07:01 petermezei

Closed via https://github.com/angular/angular-cli/pull/4385.

filipesilva avatar Feb 03 '17 14:02 filipesilva

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.