Open ocsurfnut opened 7 months ago
This is due to Node patching CVE-2024-27980 on Windows: https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2
It can be worked around by adding { shell: true }
to any spawn()
commands. Since you've got a super old version of commander.js forked, you could add here: https://github.com/mateodelnorte/commander.js/blob/master/index.js#L563 and https://github.com/mateodelnorte/commander.js/blob/master/index.js#L565 .
Made that change locally in node_modules/commander
and resolved the issue for me. I would contribute, but I cannot push a branch to your fork.
Incidentally, any plans to update to latest commander.js
?
Hello,
I'm currently experiencing the same issue. Is there any chance to fix it in the near future?
Kindly Fix this
knock knock...anyone maintaining this repo any longer?
Hi, it seems this can be easily fixed :" users can now pass { shell: true } as an option to prevent the occurrence of EINVALs errors."
https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2
can you please fix it? Or can we create a PR for this?
🐛 Bug Report
To Reproduce
Steps to reproduce the behavior:
Start with
on a Windows machine
then execute
meta git ...
Expected behavior
Command processes as normal.