bryntum / pdf-export-server

The server producing the exported PDF versions of various Bryntum UI components
MIT License
6 stars 13 forks source link

Removing dependency to hummus package which is no longer supported #7

Open sylvainmouretfico opened 1 year ago

sylvainmouretfico commented 1 year ago

Cf https://www.npmjs.com/package/hummus Maybe go for the drop-in replacement here https://github.com/julianhille/MuhammaraJS ?

Aarbel commented 1 year ago

Have same error with hummus, did you find a solution @sylvainmouretfico ?

image
Aarbel commented 1 year ago

@bmblb

bmblb commented 1 year ago

It says prebuild version is not found and it fails trying to build it from sources. I'd try look for compiled versions and look for one which matches your architecture/node version

sylvainmouretfico commented 1 year ago

I'm using MuhammaraJS instead (thus requires code changes to the server).

Aarbel commented 1 year ago

I solved install problem of hummus by using old version of node (8.x), but couldn't launch the server with this version. Best would really be to provide a docker image or lambda function for this and use non deprecated dependencies.

image

@sylvainmouretfico do you have a code fork with muhammarJs implementation ?

Aarbel commented 1 year ago

I can make a docker image / working lambda function for bryntum @sylvainmouretfico if you need external ressources

bmblb commented 1 year ago

@Aarbel we do have a docker image available on docker hub: https://hub.docker.com/r/bryntum/pdf-export-server

Aarbel commented 1 year ago

@bmblb i have error using it:

image
bmblb commented 1 year ago

@Aarbel container from the docker hub has to be assembled and ready to run as its 700MB size suggests

Aarbel commented 1 year ago

@bmblb i just ran docker-compose up -d --buildand it fails. I have 32Gb Ram and 50GO Space dedicated for Docker

Aarbel commented 1 year ago

cf https://github.com/bryntum/pdf-export-server/issues/10