Closed iepsen closed 3 years ago
Wow, it has been already 4 months since you opened this PR. Thank you for the patience.
Generally I can see where your motivation comes from. Fun fact, when the new CLI was released this note has already been up there. And guess what, people still reported the same error over and over again... 😄
In the meantime the new CLI is also not so new anymore (out for over 2 years) and I feel it would be too distracting for the majority of developers that already use the latest CLI.
It's not like the info isn't there, it's just not at the beginning of the usage section. I think it's fair to expect anyone to read the whole README.md
as it's quite small, especially if issues occur.
Having that said, I think I would be fine renaming the title from "Note on the Legacy CLI" to something like "Requirements". Feel free to reopen this PR if you agree with that.
Notatebly https://github.com/react-native-community/react-native-template-typescript/issues/80
Good stuff 👊
Thanks for looking into this @emin93. I have now pushed two commits to move back the legacy CLI warning and added the --ignore-existing
instructions.
Why?
This is a suggestion to improve the communication about the React Native CLI. As it works only with the new CLI, it seems to be a requirement instead of a note.
The goal here is to avoid issues like this one https://github.com/facebook/react-native/issues/31054.