You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I first noticed this while working in an out-of-tree platform, React Native MacOS. Running npx react-native run-macos did not start Metro automatically. Filed the full set of details originally in their project at microsoft/react-native-macos#2208
not opposed to this change (alongside the above, it also seems less confusing to only have one entry point), but I do want to note that, at least for me, yarn android doesn't seem to start Metro? I'm using Ubuntu 24.04/GNOME Terminal if it matters - I swear it did work (at least occasionally) on Windows but I'm not certain about that
And I thought it might be related to what I had seen on React Native MacOS.
Reproducible Demo
Follow the React Native macOS setupd (for the most part, the current docs are actually a little out of date, but this will be the steps for an up-to-date RN project)
npx @react-native-community/cli init macapp
cd macapp
npx react-native-macos-init
npx react-native run-macos
The app will build, but not start Metro:
Not a big deal, I can just run yarn start, then tap "reload"
Everything works great from there. I also did not have this issue when following the instructions for RN 0.71:
It sounds like this is happening on in-tree platforms as well based on @Rexogamer's comment in that discussion post, but I don't have a reproduction for that at the moment.
Environment
Description
I first noticed this while working in an out-of-tree platform, React Native MacOS. Running
npx react-native run-macos
did not start Metro automatically. Filed the full set of details originally in their project at microsoft/react-native-macos#2208But I got a notificaiton about the "removing run on iOS/Android key handlers" discussion about this comment: react-native-community/discussions-and-proposals#821 (comment)
And I thought it might be related to what I had seen on React Native MacOS.
Reproducible Demo
Follow the React Native macOS setupd (for the most part, the current docs are actually a little out of date, but this will be the steps for an up-to-date RN project)
The app will build, but not start Metro:
Not a big deal, I can just run
yarn start
, then tap "reload"Everything works great from there. I also did not have this issue when following the instructions for RN 0.71:
Reproducer repo: https://github.com/coolsoftwaretyler/rnms-issue-repro
It sounds like this is happening on in-tree platforms as well based on @Rexogamer's comment in that discussion post, but I don't have a reproduction for that at the moment.
Thanks for your work and consideration!
Originally posted by @coolsoftwaretyler in react-native-community/cli#2530
The text was updated successfully, but these errors were encountered: