Skip to content

Commit 49e7f04

Browse files
gengjiawentargos
authored andcommitted
build: add workaround for WSL
Signed-off-by: gengjiawen <[email protected]> PR-URL: #30221 Fixes: #30189 Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 8860bd6 commit 49e7f04

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

BUILDING.md

+5
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,11 @@ $ ./configure
282282
$ make -j4
283283
```
284284

285+
If you run into a `No module named 'distutils.spawn'` error when executing
286+
`./configure`, please try `python3 -m pip install --upgrade setuptools` or
287+
`sudo apt install python3-distutils -y`.
288+
For more information, see https://github.com/nodejs/node/issues/30189.
289+
285290
The `-j4` option will cause `make` to run 4 simultaneous compilation jobs which
286291
may reduce build time. For more information, see the
287292
[GNU Make Documentation](https://www.gnu.org/software/make/manual/html_node/Parallel.html).

0 commit comments

Comments
 (0)