Skip to content
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

Emulator stuck at "waiting for app to load" #633

Open
tjvanderende opened this issue Oct 16, 2024 · 4 comments
Open

Emulator stuck at "waiting for app to load" #633

tjvanderende opened this issue Oct 16, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@tjvanderende
Copy link

Description
The radon ui panel boots up the device, but gets stuck on the message "waiting for app to load"
Environment

  • v0.0.20
  • Expo: 51.0.3 & 0.74.5

Please let me know what other data you need. I couldn't find any error message (when you press the "wating for app to load" it doesn't show any issues).

@tjvanderende tjvanderende added the bug Something isn't working label Oct 16, 2024
@kmagiera
Copy link
Member

Thanks for reporting. Would you mind trying this again with 0.21?

If the problem persist please take a look at our troubleshooting guide. Specifically section about accessing extension logs here https://ide.swmansion.com/docs/troubleshooting#6-accessing-extension-logs – would be helpful to us if you could share these logs for us to investigate.

@rudra-rize
Copy link

rudra-rize commented Oct 28, 2024

Hi, I am getting this same error. I have multiple schemes for my iOS project. The project builds up and gets stuck on the screen which shows a message "Waiting for app to load". In the extension log, I am seeing the error.

 [error] TypeError: Cannot read property 'jsxDEV' of undefined

This error is located at:
    in AppWrapper (at AppContainer.js:144)
    in RCTView (at View.js:108)
    in View (at AppContainer.js:156)
    in AppContainer (at renderApplication.js:50)
    in RizeMobileApp(RootComponent) (at renderApplication.js:67), js engine: hermes
[error] Error: Requiring unknown module "undefined". If you are sure the module exists, try restarting Metro. You may also want to run `yarn` or `npm install`., js engine: hermes
[error] Error: Requiring unknown module "undefined". If you are sure the module exists, try restarting Metro. You may also want to run `yarn` or `npm install`., js engine: hermes
[error] TypeError: Cannot read property 'jsxDEV' of undefined

Systems checks:

  • extension version: 0.21
  • RN: 0.72.6
  • VS Code: 1.94.2
  • MacOS: 14.4

@santimone
Copy link

santimone commented Nov 15, 2024

Im having the same problem in windows and the extension log is showing the following messages

2024-11-15 11:09:46.539 [info] Will wait for app ready and for preview 2024-11-15 11:09:46.539 [info] Launch preview
c:\Users\Administrator\.vscode\extensions\swmansion.react-native-ide-0.0.21-win32-x64\dist\sim-server-executable.exe android,--id,emulator-5554
2024-11-15 11:09:46.902 [info] Stream ready http://127.0.0.1:62341/stream.mjpeg
2024-11-15 11:09:46.903 [info] sim-server: stream_ready http://127.0.0.1:62341/stream.mjpeg
2024-11-15 11:09:46.903 [info] sim-server: [2024-11-15T14:09:46Z INFO  simulator_server::mjpeg_server] MJPEG server started at http://127.0.0.1:62341/stream.mjpeg
2024-11-15 11:10:16.452 [info] App is taking very long to boot up, it might be stuck. Device preview URL: http://127.0.0.1:62341/stream.mjpeg

image

Extension version: 0.21
react-native: 0.73.5
VSC: 1.95.2

@kmagiera
Copy link
Member

Anyone here can reproduce this on version 0.22 ? We found out that in many cases this issue would occur due to metro cache conflicts. In 0.22 we fixed this issue by making IDE use a separate metro cache store.

@santimone – I see you're experiencing this on Windows, and the root cause can be likely the same. Apparently we haven't yet published 0.22 for Windows so until it is out, there's no way for you to try it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants