Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit 0271f33

Browse files
committed
Update "npm install realm" to use v12 explicitly
1 parent f1ec1a8 commit 0271f33

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

source/sdk/node/install.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Follow these steps to create a Node.js project and add the Node.js SDK to it.
6969

7070
.. code-block:: bash
7171

72-
npm install realm
72+
npm install realm@12
7373

7474
.. step:: Enable TypeScript (optional)
7575

@@ -125,7 +125,7 @@ running Raspberry Pi OS (formerly Raspbian), follow the steps below:
125125

126126
.. code-block:: bash
127127

128-
npm install realm
128+
npm install realm@12
129129

130130
.. step:: Enable TypeScript (optional)
131131

source/sdk/node/integrations/electron-cra.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ To set up an Electron application using Realm use the following instructions:
240240

241241
.. code-block:: shell
242242

243-
npm install realm
243+
npm install realm@12
244244

245245
Use realm in the **renderer process** by adding the following to the top
246246
of the ``src/App.js`` file (you will also need to import it in whichever

source/sdk/node/integrations/electron.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Setup
164164
.. code-block:: shell
165165

166166
npm install electron --save-dev
167-
npm install realm --save
167+
npm install realm@12 --save
168168

169169

170170
.. step:: Create a Script to Run Your Application

source/sdk/node/users/authenticate-users.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ to handle the user authentication and redirect flow from a Node.js client applic
219219

220220
.. code-block::
221221

222-
npm install realm googleapis
222+
npm install realm@12 googleapis
223223

224224
#. Import the packages into your project.
225225

source/sdk/react-native/install.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ and add the React Native SDK to it.
9292

9393
.. code-block:: bash
9494

95-
npm install realm
95+
npm install realm@12
9696

9797
.. step:: Enable Hermes
9898

@@ -203,7 +203,7 @@ and add the React Native SDK to it.
203203

204204
.. code-block:: bash
205205

206-
npm install realm
206+
npm install realm@12
207207

208208
.. step:: Link the SDK's Native Module
209209

0 commit comments

Comments
 (0)