Skip to content

Fix npm instructions #261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/next/install-next.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Yey! you are all set, start editing src/pages/index.tsx now.
<Box maxWidth="750px">

```bash
npx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base
npm_config_legacy_peer_deps=true npx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base
```

</Box>
Expand All @@ -69,7 +69,7 @@ Yey! you are all set, start editing src/pages/index.js now.
<Box maxWidth="750px">

```bash
npx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript
npm_config_legacy_peer_deps=true npx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript
```

</Box>
Expand Down Expand Up @@ -140,7 +140,7 @@ We'll need 2 more additional steps.
<DocTabItem value="npm">

```bash
npm i next-compose-plugins next-transpile-modules --save-dev
npm i next-compose-plugins next-transpile-modules @expo/next-adapter next-fonts --save-dev
```

</DocTabItem>
Expand Down