Open tropicthedev opened 1 month ago
I encountered this on Windows 11 also. I was able to workaround this by using a different version of node e.g. 16 instead of 20.13.1
Will try this
I have the same issue Node v22.3.0
This is due to a security patch in node, Bubblewrap needs to use { shell: true } when spawning a process: https://github.com/nodejs/node/issues/52554
As a workaround, use older version of node.
Describe the bug Unable to utilize bubblewrap. While using bubblewrap build I got a cli ERROR spawn EINVAL error. To Reproduce Steps to reproduce the behavior:
Expected behavior The CLI to build the android app without issues
Screenshots If applicable, add screenshots to help explain your problem.![Screenshot 2024-05-29 203653](https://github.com/GoogleChromeLabs/bubblewrap/assets/93103500/b9fdcd7a-2a55-4e61-bc69-9abdb5ffa879)
Additional context I installed the CLI via NPM and immediately tried to use it but failed