[GitHub] [incubator-echarts] plainheart commented on issue #12916: Cannot read property 'getElementById' of undefined

2020-07-06 Thread GitBox
plainheart commented on issue #12916: URL: https://github.com/apache/incubator-echarts/issues/12916#issuecomment-654119041 I'm still confused about this, but anyway, I'm glad it works for you now. This is an automated

[GitHub] [incubator-echarts] plainheart commented on issue #12916: Cannot read property 'getElementById' of undefined

2020-07-06 Thread GitBox
plainheart commented on issue #12916: URL: https://github.com/apache/incubator-echarts/issues/12916#issuecomment-654110137 It needs a HTML but not just run `index.js`, `document` can't be fetched in node env. This is an

[GitHub] [incubator-echarts] plainheart commented on issue #12916: Cannot read property 'getElementById' of undefined

2020-07-06 Thread GitBox
plainheart commented on issue #12916: URL: https://github.com/apache/incubator-echarts/issues/12916#issuecomment-654099640 This code looks like no problem. I'm afraid this error is related to the environment of your project, please ensure whether `document` or `window` exists and is able

[GitHub] [incubator-echarts] plainheart commented on issue #12916: Cannot read property 'getElementById' of undefined

2020-07-06 Thread GitBox
plainheart commented on issue #12916: URL: https://github.com/apache/incubator-echarts/issues/12916#issuecomment-654093292 I think there may be missing some detailed information. 1) What does your source code like? 2) Are there some grammar or usage errors in your source code?