Accepted answer

Your ClojureScript code is not equivalent to the example code in the readme. In the example, killPool is called in the callback function passed into export. In your version, you call killPool immediately after calling export so chart generation likely does not have time to finish. I suspect this is causing the error.

The updated ClojureScript would look like this:

(doto Highcharts
  (.export test-chart (fn [err res]
                        (when err (println "****" err))
                        (.killPool Highcharts))))

Related Query

More Query from same tag