Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Able to render charts client side just fine, when I try to export to the base64 image its returning null in my success #2

Open
anthonyvespoli opened this issue Apr 17, 2018 · 2 comments

Comments

@anthonyvespoli
Copy link

I followed the readme exactly as you laid it out, even with your sample data. No matter what I pass to the exp.render function, it always hits my .then but the param its passing back is always empty. If i console log, it returns nothing... if i upload it to s3 its a 0kb image. Any ideas on what would cause this? I'm assuming something is messing up when phantomjs is trying to grab me an image but if there was an error caused from phantomjs i would assume the render function wouldnt resolve?

@elmarti
Copy link

elmarti commented Sep 20, 2018

Same here, always returns an empty string using the sample code verbatim in node 8.10.x, I don't really have time to dig into this, but my guess is that the issues is somewhere in generate.js

@elmarti
Copy link

elmarti commented Sep 20, 2018

It's this line that is failing

var base64 = page.renderBase64('PNG');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants