-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Waiting for roots to load... error message #354
Comments
I'm getting the same error. In the console I see: |
I'm writing a custom react renderer (https://github.com/Kasu/symphony/tree/custom-renderer/lib/surface/react-surface) and I'm experiencing the same problem ("Waiting for roots to load ... to reload the inspector [ click here ]"). It could be related to this issue. If not, I'd still be greatful in some advice on where to look in react-devtools to understand where the roots come from. I tried to track down the "root" event from the bridge but I couldn't find where in react it comes from. |
It probably comes from the "backend" folder. No one actively works on the devtools and has a good understanding of all the pieces so you'll have to dig around if you want to change stuff. |
@spicyj Found it! Thanks for the pointer! It's |
I'm getting a similar error as described in #105 (comment). |
I've investigated this some more, and I've been able to reproduce this issue consistently with the following gist: https://gist.github.com/BobWhitelock/8a3fd237a325668e659465a20555c84b. This should able to just be downloaded and the page viewed as-is, and the issue can be seen in the devtools and the error message within the console. The error, at least in my case, seems to be due to the dynamic text creation using I've not been able to reproduce the above linked issue as well, so I'm guessing there's something more going on in that case. |
Creating the text using a method seems to get around this issue with the devtools not loading and lots of errors occurring.
@bobwhitelock Sounds like #248. |
I still have this error when pre render my page? Note that I am new to react and don't understand much about it yet.
EDIT: A wait I think I understand now, I am not using react at all this way :) |
you must to add this: <script src="https://npmcdn.com/babel-core@5.8.38/browser.min.js"></script> |
you must to add this js, this js is from the babel core |
This was likely a DevTools bug that got fixed in #345. Closing. |
Still seeing this issue with React Devtools in Electron. Hadn't seen it until just today. |
@slapbox What are you using it with? If React Native, it might be due to a bug in RN that is fixed in master. You can try applying facebook/react-native#12305 and facebook/react-native#12316 to RN locally. If you still experience it, please file an issue describing exactly how to reproduce this. |
Also React dev tools is not showing in the console of my first image |
@sunkarashruthi I have run into this issue a few times and every single time it has been my own fault. Are there any warnings or errors? That can cause this. Is there anything that could possibly be happening in a way you don't expect that is not technically an error? In particular, check your |
@slapbox there was a CORS issue, which i fixed. Thanks for responding |
I'm using React Developer Tools 0.14.9 on Chrome Version 50.0.2661.49 beta (64-bit) (OSX 10.10.5). I have cloned react-starter-kit (https://github.com/kriasoft/react-starter-kit) and modified it to make my app.
I tested the original react-starter-kit, and it works fine - it displays the React components as desired.
But when I fire up my app and inspect it, the React tab shows "Waiting for roots to load ... to reload the inspector [ click here ]"
What causes this message? Where do the "roots" come from? (I'm sure I have screwed something up, but ... what?) Thanks.
The text was updated successfully, but these errors were encountered: