junedomingo / react-native-rename

Rename react-native app with just one command
MIT License
2.63k stars 261 forks source link

Directory should be created using "react-native init". #166

Closed quincyhut closed 1 year ago

quincyhut commented 1 year ago

Hi, I get this when i run the command npx react-native-rename "name"

this worked fine on 2.9.0 a week back. I created the project with npx react-native init "name" back then

update: reverting to 2.9.0 worked for me

junedomingo commented 1 year ago

Hi @quincyhut , what version of rnr are you using?

junedomingo commented 1 year ago

do you have android/app/src/main/res/values/strings.xml and ios/*/Info.plist files?

quincyhut commented 1 year ago

Hi @junedomingo i noticed 3.1.3 was out and used that yes, i have the files android\app\src\main\res\values\strings.xml and ios/appname/Info.plist

PauloMello99 commented 1 year ago

@quincyhut Try running the command from a terminal outside VS Code, I was able to do it using Windows PowerShell

junedomingo commented 1 year ago

I just published v3.2.3 with Windows support, let me know how it goes @quincyhut @PauloMello99

hannanstd commented 1 year ago

Hello. Thank you. Does it support the macos one? https://microsoft.github.io/react-native-windows/docs/rnm-getting-started