-
Notifications
You must be signed in to change notification settings - Fork 18
npx nx run-android appName runs start --ios instead of android app #4
Comments
Hi, thanks for the issue. Fix in new version 0.0.7, let me know |
Wow, thanks for the fast response! Unfortunately I get this error after updating:
I would also argue that naming is wrong in this file as it states a relation to IOS which it doesn't have: |
The command that the android builder is running is correct now |
Great stuff! Thanks a lot. I've worked on some modifications to adapt it to a next + react-native + expo setup. Do you mind if I fork this repo? Maybe we can take inspiration from there? https://github.com/ZachJW34/nx-plus/tree/master/libs/vue/src |
Sure no problem, if you think that someone else could benefit from your changes consider submitting a pull request. For the migrations part, as I understand it, those are necessary only when nx update some base configuration (like migrating from e) or when we as a package update something. Correct me if I'm wrong but it looks to me that migrations are not necessary right now. |
The changes I have made will make your config into an hybrid next.js app. Not sure you'll want this as a default for this project. About migrations, you'll eventually have to update some packages, or make changes to some config. Migrations let u define package update and scripts to automate changes to an existing repo, this particularly improves dev experience a lot, like what the core Nx team does. Happy to investigate and share some thoughts here. |
https://github.com/JacopoPatroclo/nx-react-native-expo/blob/master/packages/react-native-expo/src/builders/run-android/run-android.impl.ts
I have checked source code and run-android has the same code as run-ios
The text was updated successfully, but these errors were encountered: