-
Notifications
You must be signed in to change notification settings - Fork 24.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
0.70.1 issue #34714
Comments
|
Actually not able to fix it... Trying to eliminate multiple metros is difficult. |
I cleaned and it went away after downgrading to "metro-react-native-babel-preset": "0.72.1", |
I would still recommend that we go thru the dependent packages and those that are auto-upgrading to 0.72.3 should be set to not upgrade. Hence the removal of "^". But we need to check all of them to be consistent to 0.72.1. Or we should rush out a new build for 0.72.3 metro. |
Just a heads up: we're aware of this issue We'll be fixing it most likely in 0.70.2 |
Summary: This PR bumps the dep version of Metro and the RN CLI to latest, and realigns them to avoid the issue we currently have in 0.70: #34714 (this commit will be cherry-picked there) Also, it pins it all down to precise version. See comments for reasoning. While at it, I gave a cleanup pass to the yarn.lock with [`yarn deduplicate`](https://github.com/scinos/yarn-deduplicate#readme). ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [General] [Changed] - bump CLI to 9.1.3 and Metro to 0.72.3 Pull Request resolved: #34803 Test Plan: CI is green Reviewed By: dmytrorykun Differential Revision: D39967392 Pulled By: dmytrorykun fbshipit-source-id: 799dd745834c9ba349362f70afb4bdbd1a48260e
Summary: This PR bumps the dep version of Metro and the RN CLI to latest, and realigns them to avoid the issue we currently have in 0.70: #34714 (this commit will be cherry-picked there) Also, it pins it all down to precise version. See comments for reasoning. While at it, I gave a cleanup pass to the yarn.lock with [`yarn deduplicate`](https://github.com/scinos/yarn-deduplicate#readme). ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [General] [Changed] - bump CLI to 9.1.3 and Metro to 0.72.3 Pull Request resolved: #34803 Test Plan: CI is green Reviewed By: dmytrorykun Differential Revision: D39967392 Pulled By: dmytrorykun fbshipit-source-id: 799dd745834c9ba349362f70afb4bdbd1a48260e # Conflicts: # package.json # template/package.json # yarn.lock
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Description
Notice react-native@0.70.1 has 2 versions of metro-react-native-babel-transformer which is causing issues on startup metro.
Version
0.70.1
Output of
npx react-native info
See above
Steps to reproduce
Starting RN
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: