not working npx react-native init MyApp –template react-native-template-typescript

The solution for “not working npx react-native init MyApp –template react-native-template-typescript” can be found here. The following code will assist you in solving the problem.

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 below 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).

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

inline scripts encapsulated in