kanzitelli / rnn-starter

🤹 React Native Starter - Powered by cli-rn, React Native Navigation, Expo Modules, RNN Screens, RN UI lib, MMKV, Mobx, Reanimated 2, Dark Mode, Splash Screen, Localization, Notifications, Permissions, and much more.
https://starters.dev
MIT License
550 stars 72 forks source link

Renaming the app doesn't work #70

Closed Yasir5247 closed 2 years ago

Yasir5247 commented 2 years ago

This is the command i'm using to install the starter

cli-rn new Aiminaabee -b com.aiminaabee.pro -t rnn

However still the ios directory name is RNNStarter.

I tried with sudo too.

any ideas?

kanzitelli commented 2 years ago

@Yasir5247 I can not reproduce this. When I run the command you sent I get the following

Screenshot 2022-01-18 at 11 21 13

Yasir5247 commented 2 years ago

photo_2022-01-17_10-35-13

i'm not sure why it cant find the file as seen the screen shot

kanzitelli commented 2 years ago

@Yasir5247 I think react-native-rename doesn't support Windows. If you look closely, you will see that Windows has D:\node\MoonApp path, however react-native-rename is trying to access D:/node/MoonApp where slashes are different. Probably this is what causing a problem.

Try using react-native-rename-next which, as they state, has Windows support :)

Yasir5247 commented 2 years ago

I couldn't get it on my mac so i tried using windows. does it have to do anything with NPM or node version?

mine is:

node: v16.13.1 npm: 8.3.1

kanzitelli commented 2 years ago

did you try react-native-rename-next?

Yasir5247 commented 2 years ago

@kanzitelli hi, react-native-rename-next worked. Thank you as always. :)