-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
projectRoot not working as expected #246
Comments
It seems like common flags declared in EDIT. Not entirely sure, but it seems like this functionality is broken for a while now. |
@brunolemos it seems like there is a mismatch between parameters that set react-native run-android --root packages/mobile This seems very wrong and counter-intuitive to have different flags between commands. This might work as a temporary solution in your project, but we definitely need to fix that one. |
This is not a bug with The Setting We should rename |
Yes ideally the cli option should have the same name for both ios and android, don't know if there's any issue tracking this. |
I guess #143 is a good one. I'll make sure to rename it, tho I am planning to make a detection system automatically detect unusual locations. |
Environment
I have the latest
@react-native-community/cli
2.x installed globally andreact-native
0.59 in the project.Description
Cannot run
react-native run-android ...
from the monorepo root.For iOS it works:
react-native run-ios --project-path packages/mobile/ios
Reproducible Demo
react-native run-android --projectRoot packages/mobile/android
Project: https://github.com/brunolemos/react-native-web-monorepo
The text was updated successfully, but these errors were encountered: