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

stdout maxBuffer Exceeded issue #7

Open
shanno1 opened this issue Mar 18, 2020 · 3 comments
Open

stdout maxBuffer Exceeded issue #7

shanno1 opened this issue Mar 18, 2020 · 3 comments

Comments

@shanno1
Copy link

shanno1 commented Mar 18, 2020

image

@Rush
Copy link
Owner

Rush commented Apr 18, 2020

Thanks. Is it reproducible? Do you have an example which breaks?

@shanno1
Copy link
Author

shanno1 commented Feb 11, 2021

Thanks. Is it reproducible? Do you have an example which breaks?

From what I've seen, it seems to be related to the size of the project bundle that is being attempted to be published. I reduced the bundle size and that fixed it.

@Rush
Copy link
Owner

Rush commented Feb 11, 2021

It's probably because of the usage of execFileAsync https://github.com/Rush/publish-to-git/blob/master/index.js#L20

There are two options to fix this:

  • Increase maxBuffer so that command line output can fit it in it
  • Ignore output so that it doesn't fill out the buffer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants