orYoffe/create-react-native-web-app

iOS directory is not getting created

Closed this issue · 7 comments

Describe the bug
iOS directory is not getting created

To Reproduce
Steps to reproduce the behavior:

  1. npx create-react-native-web-app baseApp
  2. cd baseApp
  3. ls

Expected behavior
there should be ios directory inside application directory.

Screenshots
Screen Shot 2021-09-23 at 12 29 21 PM

Desktop (please complete the following information):

  • OS: macOS Big Sur
  • Browser [safari]
  • Version 11.1

Smartphone (please complete the following information):

  • Device: iPhone 12 Pro Max
  • OS: iOS
  • Version 14.4

Additional context
Add any other context about the problem here.

hi @susaurabh-git did you use the package globally before? if so please uninstall it like this
npm uninstall -g create-react-native-web-app
and then try again.

I ran the command and it worked for me

Hi @orYoffe I don't have create-react-native-web-app globally. Still I ran 'npm uninstall -g create-react-native-web-app' then I tried npx create-react-native-web-app baseApp. still the same no "iOS" directory.

  • node version v16.9.1
  • npm version 7.21.1

Do you need any other information to help reproduce in your environment.

did you try with node 14? i didn't try 16 yet

@orYoffe I tried with node 14 didn't work

It seems the entire ios directory was deleted on this commit: orYoffe/react-native-template-react-native-web@05290e3

Thanks everyone.. I'm sorry for the long time it took me to take care of this.
I just published a new version with the ios folder back.. plz check and let me know as i don't have a mac with me at the moment and will get one only in a month.

Many thanks ❤️ really appreciate your help and plz let me know if the issue continues

I assume the issue has been resolved, closing since there was not answer.. plz reopen if you encounter the issue again