Skip to content

change full template name to short template name #12

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

Closed
wants to merge 1 commit into from
Closed

change full template name to short template name #12

wants to merge 1 commit into from

Conversation

linjdev
Copy link

@linjdev linjdev commented Jan 2, 2020

npx react-native init MyApp --template reason

yarn will fill to full template name

Closes #

npx react-native init MyApp --template reason

yarn will fill to full template name
@Naturalclar
Copy link
Member

Naturalclar commented Jan 2, 2020

When I run
npx react-native init MyApp --template reason, I get the following error

Screen Shot 2020-01-03 at 12 39 31 AM

It's true that @react-native-community/cli used to fill the react-native-template part, but since v3 of the cli, I believe it no longer fills the template part, and thus we'd need to use the full template name.

@MoOx
Copy link
Member

MoOx commented Jan 17, 2020

@linjdev did you read the all part here https://github.com/reason-react-native/reason-react-native.github.io/blob/c395403c521604ca3c8820b80741d1d2c9c24532/docs/install.md#create-a-new-project-with-reason-react-native ?
There is a section about when you got this error. Tell us if that's not helping but that's should be enough.

@MoOx MoOx closed this Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants