Skip to content

Commit ed2c3ca

Browse files
gengjiawencclauss
authored andcommitted
build: add workaround for WSL
Signed-off-by: gengjiawen <technicalcute@gmail.com> PR-URL: #30221 Fixes: #30189 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
1 parent 22799be commit ed2c3ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

BUILDING.md

Lines changed: 5 additions & 0 deletions
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)