New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npx react-native init MyApp --template react-native-template-typescript does not work correctly #64
Comments
I got the same error... a week ago it was working correctly |
I get the same folder structure with new |
IMPORTANT STEP: Remove your globally installed react-native-cli: Then install using npx: |
Thank you @eugenemlee that worked for me 👍. I've submitted a PR which updates the README accordingly #65. |
I was able to create a new project as described, it works pretty well. How do we run |
@ajaymore use |
Something has gone wrong. I can't understand what. |
See here for the solution. |
Thank you @eugenemlee. Putting down all the steps for those who might visit this issue.
|
With npx:
|
Bug
Environment info
React native info output:
Library version: x.x.x
Steps To Reproduce
npx react-native init MyApp --template react-native-template-typescript
I get below error in terminalThe installer is looking for package **react-native-template-react-native-template-typescript** which is not available.
npx react-native init MyApp --template typescript
I get below folder structure which is incorrect.Typescript project is created inside template directory.
The text was updated successfully, but these errors were encountered: