Skip to content

Commit

Permalink
doc: expand troubleshooting section
Browse files Browse the repository at this point in the history
Update the troubleshooting section with regards to memory requirements and potential errors.

This error specifically happened to me on an Ubuntu host with 2GB of RAM which wasn't enough and g++ error'ed during Node.js compilation step.
  • Loading branch information
lirantal authored Jul 11, 2024
1 parent cbd2c38 commit 52dcdb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,10 @@ rebuild may take a lot more time than previous builds. Additionally,
ran `./configure` with non-default options (such as `--debug`), you will need
to run it again before invoking `make -j4`.

If you received the error `nodejs g++ fatal error compilation terminated cc1plus`
during compilation, this is likely a memory issue and you should either provide
more RAM or create swap space to accommodate toolchain requirements.

### Windows

#### Tips
Expand Down

0 comments on commit 52dcdb4

Please sign in to comment.