Skip to content

Commit bcd2238

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 680e9cc commit bcd2238

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
@@ -280,6 +280,11 @@ $ ./configure
280280
$ make -j4
281281
```
282282

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

0 commit comments

Comments
 (0)