Can't open Debugger and React Dev Tool
See original GitHub issueDescription
Can’t open Debugger in iOS simulator, if you try to open you will get
Running "AwesomeProject" with {"rootTag":1,"initialProps":{}} info Opening flipper://null/React?device=React%20Native... error Browser exited with error:, Error: invalid url, missing http/https protocol
Version
0.70.0
Output of npx react-native info
info Fetching system and libraries information… System: OS: macOS 12.5.1 CPU: (8) arm64 Apple M1 Memory: 153.98 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm Watchman: 2022.09.05.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.3 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8609683 Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild Languages: Java: 18.0.2.1 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: 0.70.0 => 0.70.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
before I install the latest version of react native,
I followed the guide of RN official site
npm uninstall -g react-native-cli @react-native-community/cli
then
npx react-native init AwesomeProject
after app build successfully, my simulator pops up and run the app.
then click iOS simulator -> Device -> shake
click Open Debugger
. You will see the flowing message in terminal
info Opening flipper://null/React?device=React%20Native... error Browser exited with error:, Error: invalid url, missing http/https protocol
Snack, code example, screenshot, or link to a repository
Issue Analytics
- State:
- Created a year ago
- Reactions:15
- Comments:14
Top GitHub Comments
Update: :hermes_enabled => false in podfile
then Install pods cd ios && pod install && cd … Build App npx react-native run-ios worked for me
You have to Set :hermes_enabled => false in podfile