You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/node/README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,25 +28,24 @@ or download sqlite3 and PowerSync binaries.
28
28
29
29
### Common Installation Issues
30
30
31
-
The better-sqlite package requires native compilation, which depends on certain system tools. This compilation process is handled by node-gyp and may fail if required dependencies are missing or misconfigured.
31
+
The `better-sqlite` package requires native compilation, which depends on certain system tools. This compilation process is handled by `node-gyp` and may fail if required dependencies are missing or misconfigured.
32
32
33
33
#### Node-gyp Version Conflicts
34
34
35
-
better-sqlite depends on node-gyp@^11, but some project configurations may introduce multiple versions of node-gyp, potentially causing build issues.
35
+
`better-sqlite` depends on `node-gyp@^11`, but some project configurations may introduce multiple versions of `node-gyp`, potentially causing build issues.
36
36
37
37
#### Python Dependency Issues
38
38
39
-
node-gyp requires Python for compilation. If your project uses node-gyp below version 10 and your system has Python 3.12 or later, you may encounter the following error:
39
+
`node-gyp` requires Python for compilation. If your project uses `node-gyp` below version `10` and your system has Python `3.12` or later, you may encounter the following error:
40
40
41
41
```python
42
42
ModuleNotFoundError: No module named 'distutils'
43
43
```
44
44
45
45
To resolve this, either:
46
46
47
-
Upgrade `node-gyp` to version 10 or later.
48
-
49
-
Install Python [setuptools](https://pypi.org/project/setuptools/), which includes `distutils`.
47
+
- Upgrade `node-gyp` to version 10 or later.
48
+
- Install Python [setuptools](https://pypi.org/project/setuptools/), which includes `distutils`.
0 commit comments