dichovsky / pdf-to-png-converter

Library Convert PDF to PNG
MIT License
121 stars 26 forks source link

Library requires system requirements #35

Closed jakeleventhal closed 2 months ago

jakeleventhal commented 1 year ago

Similar to #26, I am getting the following error:

Error: dlopen(/Users/jakeleventhal/Code/Ecominate/node_modules/.pnpm/canvas@2.11.2/node_modules/canvas/build/Release/canvas.node, 0x0001): Library not loaded: /opt/homebrew/opt/pango/lib/libpangocairo-1.0.0.dylib

I want to use this on a vercel serverless function, but I need system requirements.

dichovsky commented 2 months ago

See https://github.com/Automattic/node-canvas/wiki/Installation:-AWS-Lambda with node-canves requirements