Build failure in 4.x branch code #2111
-
|
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? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
|
What Node version are you using? |
Beta Was this translation helpful? Give feedback.
-
|
@jaylinski I tried building in v22.20.0 and v18.20.8 |
Beta Was this translation helpful? Give feedback.
-
|
Hm. Build works for me when I run |
Beta Was this translation helpful? Give feedback.
-
|
@jaylinski When I run npm run build, the same thing happens. Tried it in node 18, 20, and 22 |
Beta Was this translation helpful? Give feedback.
-
|
@jaylinski I got it working by doing the following:
Do you want me to create a PR for this fix? |
Beta Was this translation helpful? Give feedback.
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