-
Notifications
You must be signed in to change notification settings - Fork 50.4k
Closed
Labels
Description
Here's a gist that illustrates the issue.
index.html will work as expected (rendering a red circle) in most browsers. If you run the phantom-run.js script in PhantomJS 2.0 (assuming you have the page hosted at localhost:3000), however, it throws this error:
Error: Invariant Violation: findComponentRoot(..., .0): Unable to find element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a
<tbody>when using tables, nesting tags like<form>,<p>, or<a>, or using non-SVG elements in an<svg>parent. Try inspecting the child nodes of the element with React ID ``.
and fails to insert the circle.