Skip to content

Commit

Permalink
Update expo instructions (#6849)
Browse files Browse the repository at this point in the history
* Use npx expo install

* Update expo go instruction
  • Loading branch information
kadikraman authored Aug 18, 2024
1 parent 1dae54e commit e0645a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/realm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ If you are using Expo, a common pitfall is not installing the `expo-dev-client`

- install the `expo-dev-client`:
```
npm install expo-dev-client
npx expo install expo-dev-client
```
- build the dev client for iOS
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class RealmInExpoGoError extends Error {
constructor() {
const runCommand = `npx expo run:${Platform.OS}`;
super(
`'realm' was imported from the Expo Go app, but unfortunately Expo Go doesn't contain the native module for the 'realm' package - consider using an Expo development build instead:\n\nnpm install expo-dev-client\n${runCommand}\n\nRead more: https://docs.expo.dev/develop/development-builds/introduction/`,
`Expo Go does not contain the native module for the 'realm' package. To use native modules outside of what is packaged in Expo Go, create a development build:\n\nnpx expo install expo-dev-client\n${runCommand}\n\nRead more: https://docs.expo.dev/develop/development-builds/introduction/`,
);
}
}
Expand Down

0 comments on commit e0645a3

Please sign in to comment.