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

App is taking very long to boot up, it might be stuck #682

Open
aidankinzett opened this issue Nov 1, 2024 · 2 comments
Open

App is taking very long to boot up, it might be stuck #682

aidankinzett opened this issue Nov 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@aidankinzett
Copy link

Description
When running the app it gets stuck on "Waiting for app to load...", and the debug output logs "App is taking very long to boot up, it might be stuck. Device preview URL: http://127.0.0.1:58631/stream.mjpeg". If I open that link I can see a screenshot of the app and it looks like its working fine. I don't receive any other errors.

If I add "preview": { "waitForAppLaunch": false } to my launch config it loads fine but I cant use the inspector.

Environment

  • Radon IDE v0.0.21
  • Expo v51, React Native v0.74.5
  • Using Cursor v0.42.4 on macOS
@aidankinzett aidankinzett added the bug Something isn't working label Nov 1, 2024
@kmagiera
Copy link
Member

kmagiera commented Nov 4, 2024

Thanks for reporting. This is likely an issue with connecting to the debugger. Would you be able to provide more logs that come before the message you shared?

@jb9229
Copy link

jb9229 commented Dec 21, 2024

hellow @kmagiera

I had same issue.
This is my issue logs,

2024-12-21 19:15:49.083 [info] Launching devtools 2024-12-21 19:15:49.083 [info] Launching metro 2024-12-21 19:15:49.085 [info] Devtools started on port 49773 2024-12-21 19:15:49.229 [info] Found Xcode workspace /Users/xxxx/xxxma.xcworkspace 2024-12-21 19:15:49.437 [info] Device selected iPhone 15 Pro 2024-12-21 19:15:49.438 [info] Selected device is ready 2024-12-21 19:15:50.563 [info] Node modules already installed - skipping 2024-12-21 19:15:50.708 [info] Metro env: load .env 2024-12-21 19:15:50.708 [info] Metro env: export APP_ENV 2024-12-21 19:15:50.900 [info] Metro Starting project at /Users/xxxx 2024-12-21 19:15:51.447 [info] Metro {"type":"RNIDE_watch_folders","watchFolders":["/Users/xxxx","/Users/xxxxx","/Users/xxxx/.vscode/extensions/swmansion.react-native-ide-1.1.0-darwin-arm64/lib"]} 2024-12-21 19:15:51.447 [info] Captured metro watch folders ["/Users/..../workspace/private/turning-point","/Users/.../workspace/private/turning-point","/Users/..../.vscode/extensions/swmansion.react-native-ide-1.1.0-darwin-arm64/lib"] 2024-12-21 19:15:51.714 [info] Metro {"hasReducedPerformance":false,"port":0,"type":"initialize_started"} 2024-12-21 19:15:51.714 [info] Metro {"type":"dep_graph_loading","hasReducedPerformance":false} 2024-12-21 19:15:51.796 [info] Metro {"type":"RNIDE_initialize_done","port":49774} 2024-12-21 19:15:51.796 [info] Metro started on port 49774 2024-12-21 19:15:51.796 [info] Metro & devtools ready 2024-12-21 19:15:52.299 [info] Metro Waiting on http://localhost:8081 2024-12-21 19:15:52.301 [info] Metro Logs for your project will appear below. 2024-12-21 19:15:53.422 [info] Metro {"type":"dep_graph_loaded"} 2024-12-21 19:15:53.422 [info] Metro {"type":"transformer_load_started"} 2024-12-21 19:15:53.474 [info] Metro {"type":"transformer_load_done"} 2024-12-21 19:15:53.474 [info] Metro {"type":"initialize_done","port":0} 2024-12-21 19:15:54.542 [info] Calculating fingerprint 2024-12-21 19:15:57.302 [info] App folder fingerprint 2b7e1752513d78f96bcdc9d557af7c17ea34ec3e 2024-12-21 19:15:57.704 [info] Using cached build. 2024-12-21 19:15:57.704 [info] Skipping native build – using cached 2024-12-21 19:15:57.704 [info] Build completed in 3.16 sec. 2024-12-21 19:15:59.716 [info] Will wait for app ready and for preview 2024-12-21 19:15:59.716 [info] Launch preview /Users/...../.vscode/extensions/swmansion.react-native-ide-1.1.0-darwin-arm64/dist/simulator-server-macos ios,--id,259160B3-4F1F-4848-94C4-D9FE0D3595C8,--device-set,/Users/...../Library/Caches/com.swmansion.radon-ide/Devices/iOS 2024-12-21 19:15:59.824 [info] Stream ready http://127.0.0.1:49821/stream.mjpeg 2024-12-21 19:15:59.824 [info] sim-server: stream_ready http://127.0.0.1:49821/stream.mjpeg 2024-12-21 19:15:59.825 [info] sim-server: [2024-12-21T10:15:59Z INFO simulator_server::mjpeg_server] MJPEG server started at http://127.0.0.1:49821/stream.mjpeg 2024-12-21 19:16:02.558 [info] Calculating fingerprint 2024-12-21 19:16:04.448 [info] App folder fingerprint 2b7e1752513d78f96bcdc9d557af7c17ea34ec3e 2024-12-21 19:16:29.717 [info] App is taking very long to boot up, it might be stuck. Device preview URL: http://127.0.0.1:49821/stream.mjpeg

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

3 participants