React Native Debugger is automatically loading to http://localhost:8081/debugger-ui/.
However, I keep getting the following 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:
rm -rf node_modules && npm i
npm run start -- -- reset-cache
cd ios && rm -rf Pods && pod install
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With