-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Build fails on Windows on latest Node versions #13613
Comments
@msujew any idea why this breaks our build and how to fix it? |
IMO, even though the node version update is a security update, I don't think building with older node versions is a problem for Theia: the CVE allows for arbitrary commands to be executed as the back-end user by using spawn parameters. However, the user can do this anyway: he just has to open a terminal in the IDE. The only vector I can see where the user is unaware of the commands being executed is covered by workspace trust and that's an entirely different problem. What do you think @msujew ? |
@tsmaeder Same thoughts. The only issue for our adopters right now is that it's not very obvious why builds are consistently failing on GitHub Actions and on their PCs (in case they installed the latest node.js update). From a security standpoint, there is little to worry about for adopters of Theia. |
This is still one we need to fix: broken builds with up-to date version of node LTS is likely to break downstream builds. This build will be a community build, so doubly so 🤷 |
Bug Description:
Due to the latest LTS update of Node v18/v20, running
cp.spawn
without setting the options to{ shell: true }
simply yields an error on Windows. You can see this here.Steps to Reproduce:
spawn EINVAL
errorsAdditional Information
The text was updated successfully, but these errors were encountered: