diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-11-02 23:27:48 +0800 |
---|---|---|
committer | cclauss <cclauss@me.com> | 2019-11-04 18:04:12 +0100 |
commit | ed2c3ca6e2bde619e57afbd6f17ccc276e02b1fd (patch) | |
tree | 814a5719fd4b647278f8891feedfd8f9f6d33203 /BUILDING.md | |
parent | 22799be7a9a87ec32b438b22090622f9884baeb4 (diff) | |
download | android-node-v8-ed2c3ca6e2bde619e57afbd6f17ccc276e02b1fd.tar.gz android-node-v8-ed2c3ca6e2bde619e57afbd6f17ccc276e02b1fd.tar.bz2 android-node-v8-ed2c3ca6e2bde619e57afbd6f17ccc276e02b1fd.zip |
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.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/BUILDING.md b/BUILDING.md index 3a484c42e0..0df731b099 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). |