Skip to content

Commit

Permalink
build: add workaround for WSL
Browse files Browse the repository at this point in the history
Signed-off-by: gengjiawen <[email protected]>

PR-URL: #30221
Fixes: #30189
Reviewed-By: Christian Clauss <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
  • Loading branch information
gengjiawen authored and targos committed Nov 5, 2019
1 parent 8860bd6 commit 49e7f04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 49e7f04

Please sign in to comment.