Skip to content

build: fix node build failures in WSL Ubuntu

Rodrigo Muino Tomonari requested to merge github/fork/MrJithil/fix-41459 into master

On WSL systems, ./configure causes appending of carriage return (\r\r) as leftover and will be appended to the gyp_args. Therefore, it will lead to unhandled exceptions from the ./configure execution. Excluded the empty or whitespace item from the args array to fix the issue.

Fixes: https://github.com/nodejs/node/issues/41459

Merge request reports

Loading