3

I have been developing React Native for a while and I keep updating myself with new release of the framework by creating other new project to test. Currently I face problem when I reload the application in Debug mode on my old version of React Native.

Every time I reload, It displays Cached Bundle on Chrome as below

enter image description here

On my device

Runtime is not ready for debugging....

enter image description here

After going through googling, I follow these recommendation

  • reset watcher, uninstall/reinstall watcher
  • remove node_modules and reinstall it

But none of the solutions work.

*Notes

  • react: v 15.4.2
  • react-native: v0.42.3
  • os: ios
  • this error does not happen if I do not debug
asked Mar 7, 2018 at 3:16
6
  • 1
    You may follow the issue here, which contains different workarounds, since it can be caused due to many reasons. Commented Mar 7, 2018 at 5:06
  • 2
    Thanks @Pritish. I found one comment helpful there. "Instead of localhost:8081/debugger-ui change it to 127.0.0.1:8081/debugger-ui." I don't understand why localhost not working :( Commented Mar 7, 2018 at 6:01
  • Did the yarn run? Are you using the Wifi or cable to run the App on your cell phone? Commented Mar 7, 2018 at 9:08
  • @Reza : I am using Wifi. My computer and device are connected to the same network. Commented Mar 10, 2018 at 4:45
  • I still face the issue after changing url to "127.0.0.1:8081/debugger-ui" though I tried to clear application data and disable Network's cache. But running Chrome in incognito mode bring back the debugger. So this issue must be the cause of cache in Chrome. Commented Mar 27, 2018 at 7:01

1 Answer 1

2

After trying a lot of things, I just cleared browsing data(cookies and cache) of my google chrome and then started debugging and error is gone.

answered May 5, 2020 at 8:38
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.