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

Highcharts Node.js Export Server does not work #358

Closed
mendesswashington opened this issue Jul 6, 2022 · 4 comments
Closed

Highcharts Node.js Export Server does not work #358

mendesswashington opened this issue Jul 6, 2022 · 4 comments
Labels

Comments

@mendesswashington
Copy link

I am generating graphic image via server but a solution proposed by you is not working.
Every time we try to run it, it generates an image with this error, but the documentation doesn't say how we should configure it.
image

@mendesswashington mendesswashington changed the title Highcharts Node.js Export Server não funciona Highcharts Node.js Export Server does not work Jul 6, 2022
@Ash-v-G
Copy link

Ash-v-G commented Jul 26, 2022

Have you successfully ran the build script? The instructions on the image may solve your issue. I.e.:

cd node_modules/highcharts-export-server
node build.js

@believe-Mahesh
Copy link

Hi,

Is there any update on this issue. I am trying to set up export server as a service in AWS lambda. The response returns the same image. I tried the above steps mentioned and it does not help. Please assist. Here is what I do.

  1. I had cloned node-export-server from github and ran npm install (agreed to all the prompts with yes except the CDN and the version for which I left blank) and npm link. The node module is installed globally.
  2. I navigated into my project repository and did npm install highcharts-export-server.
  3. inside the project and switched to node_modules/highcharts-export-server and ran node build.js and carried out giving yes to all the promps except cdn and version.
  4. copying my nodemodules, js file and package*.json into ecr and deploy in lambda.

When i try to invoke the gateway api connecvted to above lambda, it returns export server not configured.

@trimbilrepo
Copy link

trimbilrepo commented Mar 19, 2023

Hi,

Is there any update on this issue. I am trying to set up export server as a service in AWS lambda. The response returns the same image. I tried the above steps mentioned and it does not help. Please assist. Here is what I do.

  1. I had cloned node-export-server from github and ran npm install (agreed to all the prompts with yes except the CDN and the version for which I left blank) and npm link. The node module is installed globally.
  2. I navigated into my project repository and did npm install highcharts-export-server.
  3. inside the project and switched to node_modules/highcharts-export-server and ran node build.js and carried out giving yes to all the promps except cdn and version.
  4. copying my nodemodules, js file and package*.json into ecr and deploy in lambda.

When i try to invoke the gateway api connecvted to above lambda, it returns export server not configured.

tried to uninstall highcharts-export-server by npm uninstall highcharts-export-server -g --no-save
go to your cloned repository, then rerun npm install && npm link && node build.js

I have the same problem, finally made it work using manual install from repository rather than direct npm

@jszuminski jszuminski added the bug label Aug 28, 2023
@jszuminski
Copy link
Contributor

Apologies for the late response. Related issue issue: #399 (PhantomJS Export Server does not work well with some versions of Node.js).

I regret to inform you that we do not plan to update the PhantomJS-based version of the Export Server as PhantomJS has been deprecated for a long time now and a long list of issues arised from that.

The good news is that we've recently released a beta version which uses Puppeteer as its headless browser library where this should no longer be a problem (here's a short setup guide).

In case you encounter any problems with the newest version, please report them on this repository and we will investigate them.

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

No branches or pull requests

5 participants