Build failure in 4.x branch code #2111
Answered
by
jaylinski
tylerablackham
asked this question in
Q&A
|
I'm running into some issues building the code when I'm in the 4.x branch. From a new clone of the repo, I follow the instructions in the
I'm able to build fine when I'm in the master branch, but not when I'm in the 4.x branch. What can I do to fix this? |
Answered by
jaylinski
Dec 4, 2025
Replies: 5 comments 3 replies
|
What Node version are you using? |
0 replies
|
@jaylinski I tried building in v22.20.0 and v18.20.8 |
0 replies
|
Hm. Build works for me when I run |
0 replies
|
@jaylinski When I run npm run build, the same thing happens. Tried it in node 18, 20, and 22 |
0 replies
|
@jaylinski I got it working by doing the following:
Do you want me to create a PR for this fix? |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay, now I understand why I couldn't reproduce it. Yes, please open a PR by fixing the
spawn-issue as described here:https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2#command-injection-via-args-parameter-of-child_processspawn-without-shell-option-enabled-on-windows-cve-2024-27980---high