I’m trying to create a react native app with the command npx react-native init MyTabletApp --template react-native-template-typescript
but I got this error attached. How to create an rn app that starts with all folders and files created? enter image description here
I’m developing in windows desktop
I tried cleaning the solution, removed the global cli installation and updated the node version, I’m using 10.9.0
2
Answers
Solution that I have discovered:
Create project from template this way :
Example : Choose the RN version of your choice.
If you want to create a new project with latest version you can try out these commands:
OR
and you can refer to following link for more detail:
https://github.com/react-native-community/cli/blob/main/docs/init.md