Skip to content
Permalink
Browse files

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>
  • Loading branch information
gengjiawen authored and targos committed Nov 2, 2019
1 parent 680e9cc commit bcd2238b3e4afc899b4d1fee23b52fa997b363d3
Showing with 5 additions and 0 deletions.
  1. +5 −0 BUILDING.md
@@ -280,6 +280,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).

0 comments on commit bcd2238

Please sign in to comment.
You can’t perform that action at this time.