question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't open Debugger and React Dev Tool

See original GitHub issue

Description

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

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:15
  • Comments:14

github_iconTop GitHub Comments

12reactions
dariabrcommented, Nov 21, 2022

Update: :hermes_enabled => false in podfile

then Install pods cd ios && pod install && cd … Build App npx react-native run-ios worked for me

11reactions
shanhassan06commented, Oct 27, 2022

You have to Set :hermes_enabled => false in podfile

Read more comments on GitHub >

github_iconTop Results From Across the Web

react dev tools not loading in Chrome browser - Stack Overflow
I am on linux mint 64 bit, followed above instructions and my Allow access to file URLs was checked off, I turned it...
Read more >
How To Debug React Components Using React Developer ...
Open the console by either right-clicking and inspecting an element or by opening the toolbar by clicking View > Developer > JavaScript console....
Read more >
Debugging - Expo Documentation
This will open up the React DevTools console (for it to connect, you need to select Debug remote JS from the Developer Menu...
Read more >
react developer tools does not showing components - You.com
I had the same issue: I installed React Developer Tools plugin, but the React tab didn't appear. The solution was simple: I just...
Read more >
Debugging React Native with react-native-debugger
Chrome Developer Tools ... Select "Debug JS Remotely" from the Developer Menu in Chrome to debug the JavaScript code. http://localhost:8081/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found