Open coolsoftwaretyler opened 1 month ago
no matter what i do i cannot run on ios now. bundle is not found
Make sure you're running a packager server or have included a .jsbundle file in your application bundle. npx react-native bundle
how to solve this please ? maybe i was on a previous version of react-native-cli before, i tryed to update to RN 76 but failed , so i cleaned temp files, now it stuck i use react-native 0.74.5 which version of react-native-cli i shoud use please ? 2.0.1 ? thanks
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 https://github.com/microsoft/react-native-macos/issues/2208But I got a notificaiton about the "removing run on iOS/Android key handlers" discussion about this comment: https://github.com/react-native-community/discussions-and-proposals/discussions/821#discussioncomment-10852786
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!