0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

build: add workaround for WSL

Signed-off-by: gengjiawen <technicalcute@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/30221
Fixes: https://github.com/nodejs/node/issues/30189
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
gengjiawen 2019-11-02 23:27:48 +08:00 committed by cclauss
parent 22799be7a9
commit ed2c3ca6e2

View File

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