Skip to content

Commit

Permalink
docs: update troubleshooting guide
Browse files Browse the repository at this point in the history
  • Loading branch information
tshuli committed Sep 24, 2020
1 parent 56df4d3 commit 151b2cc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ A list of common issues that developers face and how to resolve them.

This could happen if node modules were compiled with a different version of node, or if node modules fail to compile due to other configuration errors.

### [Configuration Errors](https://stackoverflow.com/questions/21656420/failed-to-load-c-bson-extension)

Some modules such as `node-gyp` require Python 2.x and if your system's Python points to 3.x, it will fail to compile bson, without warning. Fix this by setting Python 2.x to be the default on your system or ensuring that the Python global key in your npm config points to the 2.x executable on your system.

### [Node Versioning Error](https://stackoverflow.com/questions/28486891/uncaught-error-module-did-not-self-register)

Run the following commands to set the node version and then re-install the node modules:
Expand All @@ -21,4 +17,5 @@ npm install
```

## JavaScript out of memory error

On your Docker application, go to Preferences > Resources and increase the amount of memory allocated for Docker.

0 comments on commit 151b2cc

Please sign in to comment.