From c2e58dc518c1f0456e3e38b73d682f7a7bc725d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Sakall=C4=B1?= Date: Mon, 19 Oct 2020 13:57:06 +0300 Subject: [PATCH] typescript template command updated. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e615b5..d4c8b22 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,12 @@ yarn global add react-native-cli Use the React Native command line interface to generate a new React Native project called "AwesomeProject": ```bash -react-native init AwesomeProject --template typescript +npx react-native init MyApp --template react-native-template-typescript +``` + +If you getting an error, you should try this: +```bash +npx --ignore-existing react-native init MyApp --template react-native-template-typescript ``` > _NOTE: Project name should be alphanumeric!_