Skip to content

Commit 9116800

Browse files
committed
fix(docs): starter-base instruction with new path + expo install --fix
1 parent 64b08ea commit 9116800

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

apps/docs/src/content/docs/getting-started/initial-setup.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ A starting point to help you set up your project quickly and use the common comp
4646

4747
> This will copy the folder `react-native-reusables/apps/starter-base`, paste it as a sibling, and rename it to your new project name.
4848
49-
<StarlightCode lang='bash' title="bash" code="cp -R react-native-reusables/apps/starter-base/ ./my-project"/>
49+
<StarlightCode lang='bash' title="bash" code="cp -R react-native-reusables/packages/templates/starter-base/ ./my-project"/>
5050

5151
<br />
5252

5353
<Tabs>
5454
<TabItem label="npm">
5555

56-
3. Change Directory to your project (replace `my-project` with your project's name) and install the dependencies
56+
3. Change Directory to your project (replace `my-project` with your project's name), install the dependencies, and fix packages if needed.
5757

5858
```bash
59-
cd my-project && npm install
59+
cd my-project && npm install && npx expo install --fix
6060
```
6161
<br />
6262

@@ -82,10 +82,10 @@ A starting point to help you set up your project quickly and use the common comp
8282
</TabItem>
8383
<TabItem label="yarn">
8484

85-
3. Change Directory to your project (replace `my-project` with your project's name) and install the dependencies
85+
3. Change Directory to your project (replace `my-project` with your project's name), install the dependencies, and fix packages if needed.
8686

8787
```bash
88-
cd my-project && yarn install
88+
cd my-project && yarn install && npx expo install --fix
8989
```
9090

9191
<br />
@@ -118,10 +118,10 @@ A starting point to help you set up your project quickly and use the common comp
118118
</Aside>
119119

120120

121-
3. Change Directory to your project (replace `my-project` with your project's name) and install the dependencies
121+
3. Change Directory to your project (replace `my-project` with your project's name), install the dependencies, and fix packages if needed.
122122

123123
```bash
124-
cd my-project && pnpm install
124+
cd my-project && pnpm install && npx expo install --fix
125125
```
126126

127127
<br />

0 commit comments

Comments
 (0)