React Native Debugger Error - Cannot GET /debugger-ui/

Apparently they have left a bug in the code. For it to work right now, you will have to change the react-native-community module on your own.

Go to the file

/node_modules/react-native-community/cli/build/commands/server/middleware/MiddlewareManager.js

and, in the line 97

const debuggerUIFolder = _path().default.join(__dirname, '..', 'util', 'debugger-ui');

remove the 'util' param, changing it to

const debuggerUIFolder = _path().default.join(__dirname, '..', 'debugger-ui');


For me it was only:

  1. rm -rf node_modules && npm i
  2. npm run start -- -- reset-cache
  3. cd ios && rm -rf Pods && pod install