97560eda3ee66ff9c225ca7d8b4dda90b02935d1
Apparently currently the option `--template` already adds the `react-native-template` to the path, and if we use what's on README we will have this path that doesn't exist: https://registry.yarnpkg.com/react-native-template-react-native-template-typescript Changing to just `--template typescript` fixes it.
👾 React Native Template TypeScript
Clean and minimalist React Native template for a quick start with TypeScript.
⭐ Features
- Elegant usage directly within the React Native CLI
- Consistent with the default React Native template
- Minimal additional dependencies
▶️ Usage
react-native@0.61.0or higher
npx react-native init MyApp --template typescript
react-native@0.60.x
npx react-native init MyApp --template typescript@6.2.0
Note on the legacy CLI
There seems to be quite some confusion about the legacy CLI. This template only works with the new CLI. Make sure you have uninstalled the legacy react-native-cli first (npm uninstall -g react-native-cli), for the above command to work. If you wish to not use npx, you can also install the new CLI globally (npm i -g @react-native-community/cli or yarn global add @react-native-community/cli).
Further information can be found here: https://github.com/react-native-community/cli#about
💻 Contributing
Contributions are very welcome. Please check out the contributing document.
🔖 License
This project is MIT licensed.
Languages
Java
38.3%
Objective-C
27.8%
TypeScript
17.3%
JavaScript
7%
Ruby
5.9%
Other
3.7%