Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgengjiawen <technicalcute@gmail.com>2019-11-02 18:27:48 +0300
committercclauss <cclauss@me.com>2019-11-04 20:04:12 +0300
commited2c3ca6e2bde619e57afbd6f17ccc276e02b1fd (patch)
tree814a5719fd4b647278f8891feedfd8f9f6d33203 /BUILDING.md
parent22799be7a9a87ec32b438b22090622f9884baeb4 (diff)
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>
Diffstat (limited to 'BUILDING.md')
-rw-r--r--BUILDING.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/BUILDING.md b/BUILDING.md
index 3a484c42e04..0df731b099e 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -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).