-
Notifications
You must be signed in to change notification settings - Fork 21
Unable to start the app #8
Comments
If you're on Windows you won't have the simulator for iOS - that's a MacOS only thing as far as I know. Others who know the ecosystem better might have some suggestions? |
@nclarx is right, iOS requires a toolchain that only OSX provides. For Android, I it looks like the symlink operation didn't work for you -- React Native has hard-coded |
Sure @jaysoo . I was only trying to run Android app, did not touch iOS. I ran nx start my-app as it was mentioned that it will "Start JS bundler" and got the error that I have mentioned i.e., The run-ios build requires OSX to run |
Oh yes, I see there's an erroneous platform check for the bundler builder. I'll patch that. |
@mtapdilli Can you try |
Investigating the symlink issue. I can reproduce it in Windows. |
@mtapdilli Can you try |
I'm able to start the bundler and run the android app in Windows. Closing this issue. |
Hey @jaysoo . Just tried beta.6. I Am able to run the android app. Cheers 🥂 Note : I was getting an error like And below one still persists : I can see it has got something to do with permission. Let me know if you have any inputs on this. |
|
@jaysoo I could get build-android command get to work in my system after changing this line from I am thinking root cause might this : nodejs/node-v0.x-archive#2318 (comment) I think we will have to update it to run gradlew/gradlew.bat based on the platform. You review it and take a call. |
We're doing both now:
Don't need the platform check since chmodding the unused one is fine. |
Running nx start my-app gives below error :
**The run-ios build requires OSX to run**
Running nx run-android my-app gives below error :
EPERM: operation not permitted, symlink '_**path to the workspace**_\node_modules\react-native' -> '*_path to the workspace*_\apps\my-app\node_modules\react-native'
Running nx build-android my-app gives below error :
spawn _**path to the workspace**_\apps\my-app\android\gradlew ENOENT
Steps Followed :
And then ran below commands as suggested by @jaysoo in this comment
nx g @nrwl/react-native:app my-app
....
....
The text was updated successfully, but these errors were encountered: