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

Command "bubblewrap build" throws error 'cli ERROR stdout maxBuffer length exceeded' #889

Open
andreififiita opened this issue Oct 1, 2024 · 2 comments

Comments

@andreififiita
Copy link

Describe the bug

After initializing PWA folder, the bubblewrap build command throws error "cli ERROR stdout maxBuffer length exceeded"

Example of output:
_Please, enter passwords for the keystore /Users/......../android.keystore and alias android.

? Password for the Key Store: *******
? Password for the Key: *******

Building the Android App...

cli ERROR stdout maxBuffer length exceeded_

To Reproduce

  1. Create folder for pwa-to-android project with "bubblewrap init" command
  2. Run "bubblewrap build" command

Expected behavior
The build command should finish building app-release-bundle.aab and app-release-bundle.apk and display command output.

Desktop (please complete the following information):

  • OS: macOS Ventura 13.7
  • NodeJS: 18.15.0
  • Version: 1.22.0

Additional context
This might be a nodejs related issue, but I didn't manage to find a solution for changing maxBuffer for bubblewrap build command. Also, I did not find any references about this regarding bubblewrap specifically.

Can anyone help?

@andreififiita andreififiita changed the title Command "bubblewrap build" throws error Command "bubblewrap build" throws error 'cli ERROR stdout maxBuffer length exceeded' Oct 1, 2024
@iordonezro
Copy link

@andreififiita any solution? I have the same problem

@andreififiita
Copy link
Author

I updated node.js to the latest stable version at that time (and bubblewrap if needed), and i managed to run the build command correctly. Let me know if it works for you also.

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