thecodingmachine / react-native-boilerplate

A React Native template for building solid applications 🐙, using JavaScript 💛 or Typescript 💙 (you choose).
https://thecodingmachine.github.io/react-native-boilerplate/
MIT License
4.75k stars 864 forks source link

In Window "cp" command will not work while install [BUG]: #381

Closed 6ixline closed 10 months ago

6ixline commented 11 months ago

react-native environment setup

Description

While installing using "npx react-native init MyApp --template @thecodingmachine/react-native-boilerplate" this command I was getting was "cp is not recognized as an internal or external command" as there is no such thing as "cp" in the window.

Version

Latest one

Do you use TypeScript?

On which OS this issue appear on?

Desktop OS

Window

JeremyDolle commented 11 months ago

Normally, if you use git bash instead of the windows terminal it should work

soWizardly commented 11 months ago

Confirming @JeremyDolle 's solution worked for me on Windows 10. This may seem minor but as a someone trying to get into RN and still working towards getting my local env setup, this saved me a lot of time.