Closed iamharisb2 closed 1 year ago
Indeed, cp
do not exists in a Windows environment.
A workaround may be to use the same command in the WSL ?
Currently having the same issue, WSL is not a workaround.
If you are having this issue and have git installed, open git bash, cd to desired folder, enter "npx react-native init MyApp --template @thecodingmachine/react-native-boilerplate" and if you are using Javascript, the issue will no longer be there. Hope this work around helps.
Thanks @Xigma101 ! Please @iamharisb2, let us know if it's working for you. It could be a part of a "troubleshooting section"
@JeremyDolle this issue is not resolve yet I am facing this issue on mac in bash or zsh terminal also
Of course I have a quick fix solution. We use yarn in our script. Install it globally and It will work. I will fix by adding a flag for using npm or yarn but for now you will need to install yarn
I am creating a new project by using "npx react-native init MyApp --template @thecodingmachine/react-native-boilerplate" command and if I don't install my project with typescript then it gives me this error. Screenshot attached. Can anyone look into it and provide me with a solution?