Not sure how to make it work for windows. #12683
-
Hello, I have created a new fresh react-native app, then added react-native-macos and react-native-windows. On my Linux development system I can run the app on my Android phone, either through Android Studio or directly from the terminal. I then made a commit and continued to a mac mini. On the mac I had to install a lot of dependencies but after that was done I could run the app on the mac as "designed for iPhone" as well as on an iPhone. Here only changes were made in the On the windows 10 PC I installed Visual Studio 2022 and cloned the project, installed all the dependencies etc. Opening the project workspace works and the project compiles, however when the debug or release build completes and the app opens, the screen stays empty, no app is rendered inside. I expected the debug build to complain that it can't load from the development server, but the release build should show at least something, but in both cases a white screen appears without any content. I'm not sure how to analyze this further as there are no errors about something missing or crashing. Since this project is just the basic app that comes from initializing, nothing custom about it, I expected this to work out of the box but apparently it doesn't for Windows. Does anyone have an idea what I should try next to make the app render? Guides used: Visual Studio about versions as well as nodejs and npm:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It works today. I'm not sure what changed, maybe a reboot did the trick. |
Beta Was this translation helpful? Give feedback.
It works today. I'm not sure what changed, maybe a reboot did the trick.