understanding “Layout run failure” error logging

前端 未结 3 1679
醉梦人生
醉梦人生 2020-12-15 09:03

I am doing some charting work and got a single line message \"Layout run failure\" when nothing was being created on the chart. Looking into this I found that I have to add

3条回答
  •  粉色の甜心
    2020-12-15 09:43

    I find these types of errors are often solved the quickest with a comment-out-till-it-goes-away approach to isolating which component config is causing the layout failure. Comment out child components from the inside out, replacing them with a filler html config, until you zero-in on which component was causing the failure, then see how much you can put back until the error comes back and you should be looking at only a few remaining lines of configuration that you can eyeball against the docs/samples.

提交回复
热议问题