-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
NX 19 - Expo migration fails if not using app.json #25291
Labels
Comments
I'm facing the same issue running migrations in @nx/expo.
|
xiongemi
added a commit
that referenced
this issue
May 31, 2024
config.js <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #26118 #25291 #23233
fixed in pr #26137 |
FrozenPandaz
pushed a commit
that referenced
this issue
Jun 3, 2024
config.js <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #26118 #25291 #23233 (cherry picked from commit 2cb7ecb)
4 tasks
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current Behavior
When upgrading to NX 19 on a repo with
@nx/expo
, the migrationupdate-19-0-0-change-webpack-to-metro
fails to execute if the project is not using app.json to configure the expo project.Expo offers the ability to use
app.json | app.config.js | app.config.ts
. See doco: https://docs.expo.dev/workflow/configuration/#propertiesHowever, this migration explicitly targets only
app.json
nx/packages/expo/src/migrations/update-19-0-0/change-webpack-to-metro.ts
Line 26 in 618096a
Expected Behavior
This should support all expo config files.
GitHub Repo
No response
Steps to Reproduce
@nx/expo
app.json
toapp.config.{js,ts}
nx migrate latest && nx migrate --run-migrations
update-19-0-0-change-webpack-to-metro
will failNx Report
Failure Logs
Package Manager Version
pnpm 8.15.8
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: