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: snippets/node/installation.mdx
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22,30 +22,30 @@ Add the [PowerSync Node NPM package](https://www.npmjs.com/package/@powersync/no
22
22
23
23
**Required peer dependencies**
24
24
25
-
This SDK requires [`better-sqlite3`](https://www.npmjs.com/package/better-sqlite3) as a peer dependency:
25
+
This SDK requires [`@powersync/better-sqlite3`](https://www.npmjs.com/package/@powersync/better-sqlite3) as a peer dependency:
26
26
27
27
<Tabs>
28
28
<Tabtitle="npm">
29
29
```bash
30
-
npm install better-sqlite3
30
+
npm install @powersync/better-sqlite3
31
31
```
32
32
</Tab>
33
33
34
34
<Tabtitle="yarn">
35
35
```bash
36
-
yarn add better-sqlite3
36
+
yarn add @powersync/better-sqlite3
37
37
```
38
38
</Tab>
39
39
40
40
<Tabtitle="pnpm">
41
41
```bash
42
-
pnpm install better-sqlite3
42
+
pnpm install @powersync/better-sqlite3
43
43
```
44
44
</Tab>
45
45
</Tabs>
46
46
47
47
**Common installation issues**
48
48
49
-
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.
49
+
The `@powersync/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.
50
50
51
51
Refer to the [PowerSync Node package README](https://www.npmjs.com/package/@powersync/node) for more details.
0 commit comments