From 2faad3bc04dd1ca2d2b340c3e9b7bbe62224e756 Mon Sep 17 00:00:00 2001
From: silgal <52303631+silgal@users.noreply.github.com>
Date: Wed, 23 Feb 2022 11:23:18 +0800
Subject: [PATCH] Fix npm instructions
---
docs/next/install-next.mdx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/next/install-next.mdx b/docs/next/install-next.mdx
index c56b6d352..0b8150849 100644
--- a/docs/next/install-next.mdx
+++ b/docs/next/install-next.mdx
@@ -58,7 +58,7 @@ Yey! you are all set, start editing src/pages/index.tsx now.
```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
```
@@ -69,7 +69,7 @@ Yey! you are all set, start editing src/pages/index.js now.
```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
```
@@ -140,7 +140,7 @@ We'll need 2 more additional steps.
```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
```