nfantone / highcharts-export-server

PhantomJS exporting server that allows generation of Highcharts on PDF, PNG, JPEG or SVG
MIT License
4 stars 2 forks source link

ReferenceError: Can't find variable: Highcharts #49

Closed zejacobi closed 7 years ago

zejacobi commented 7 years ago

I got this error on Win10, while trying to create a chart render via the request module in node. I was using this package installed globally, as per the NPM instructions.

Full Error Trace:

Highcharts.options.parsed
Highcharts.cb.parsed
Highcharts.customCode.parsed
ERROR: ReferenceError: Can't find variable: Highcharts
TRACE:
 -> undefined: 61
 -> : 140

  phantomjs://code/highcharts-convert.js:160 in onError

Seems related to an issue on Stack Overflow and issue #18 in the original repo

nfantone commented 7 years ago

Thank you very much for this. Didn't realize that issue existed in the upstream. Already merged and will release soon.

nfantone commented 7 years ago

Done. Published 2.2.1 to npm.