react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

Debugger won't open on MacOS (expo)

Open vicrac opened this issue 4 years ago • 0 comments

React Native Debugger app version: 0.12.1 React Native version: https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz Platform: iOS Is real device of platform: ? Operating System: macOS

Since upgrade react native and expo to the latest version the debugger won't open (it is literally stuck, the icon in the docs suggests it's running but clicking on it has no effect).

My command: REACT_DEBUGGER='unset ELECTRON_RUN_AS_NODE && open -g 'rndebugger://set-debugger-loc?port=19001' ||' expo start

Error message (mobile is root directory for expo project):

error Error while starting custom debugger:, Error: Command failed: unset ELECTRON_RUN_AS_NODE && open -g rndebugger://set-debugger-loc?port=19001 || "/Users/michalkaczanowicz/livehe.re/client_v2/mobile"
LSOpenURLsWithRole() failed with error -600 for the URL rndebugger://set-debugger-loc?port=19001.
/bin/sh: /Users/michalkaczanowicz/livehe.re/client_v2/mobile: is a directory

    at ChildProcess.exithandler (child_process.js:303:12)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:443:11)
    at Socket.emit (events.js:315:20)
    at Pipe.<anonymous> (net.js:674:12)

vicrac avatar Aug 20 '21 09:08 vicrac