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

Error with ng github-pages:deploy

Open tschaka1904 opened this issue 9 years ago • 6 comments

OS?

Mac OSX Yosemite

Versions.

node: 6.2.2 os: darwin x64

Repro steps.

I'm working on a project, using the CLI, and updated it to the recent version. ng-serve works. ng-build works as well. Executing ng github-pages:deploy throws an error :(

The log given by the failure.

stdout maxBuffer exceeded Error: stdout maxBuffer exceeded at Socket. (child_process.js:265:14) at emitOne (events.js:96:13) at Socket.emit (events.js:188:7) at readableAddChunk (_stream_readable.js:172:18) at Socket.Readable.push (_stream_readable.js:130:10) at Pipe.onread (net.js:542:20)

Repo.

https://github.com/tschaka1904/complex-portal-view

tschaka1904 avatar Dec 05 '16 15:12 tschaka1904

did you resolve this issue ? I am facing a similar issue.

Exception: stdout maxBuffer exceeded. Error: stdout maxBuffer exceeded. at Socket. (child_process.js:244:12) 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)

usmanchaudhri avatar Dec 17 '16 11:12 usmanchaudhri

Same for me, just started a new project, trying to deploy but got this error

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)

chaiyuxin avatar Dec 17 '16 19:12 chaiyuxin

I was including an asset, containing a node module, which I wanted to include for temp reasons. Removing it solved my issue.

tschaka1904 avatar Dec 19 '16 09:12 tschaka1904

Where was the problem? Could you share more information. Thanks.

donvadicastro avatar Jan 15 '17 18:01 donvadicastro

I was adding a npm-module to the assets folder. I need to do that for some reason at that time. It worked perfectly on my local machine, but running ng github-pages:deploy broke it. I'm not sure why, but I think it was just to big and it couldn't deal with that. Anyway, removing the module out the the assets folder did the trick.

tschaka1904 avatar Jan 15 '17 18:01 tschaka1904

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.