You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am doing below things
const convert = fromBuffer(pdfBuffer, options);
const result = await convert(1, { responseType: 'buffer' });
result is {"buffer":[]}
My docker file
FROM node:20.9.0-alpine3.18
RUN apk update
&& apk add --no-cache make g++ python3 ghostscript graphicsmagick ghostscript-fonts
WORKDIR /api
COPY functions /api
RUN npm install -g [email protected]
RUN npm ci
COPY .sh /bin/
RUN chmod 755 /bin/.sh
CMD /bin/worker_start.sh
It works fine in mac
But when we deployed code to linux container it simple wont work
The text was updated successfully, but these errors were encountered:
I tried the above but didn't work. I ended up using inkscape with https://github.com/papandreou/node-inkscape at v2 (not v3), in case that it works for someone, that library also supports streams.
I am doing below things
const convert = fromBuffer(pdfBuffer, options);
const result = await convert(1, { responseType: 'buffer' });
result is {"buffer":[]}
My docker file
FROM node:20.9.0-alpine3.18
RUN apk update
&& apk add --no-cache make g++ python3 ghostscript graphicsmagick ghostscript-fonts
WORKDIR /api
COPY functions /api
RUN npm install -g [email protected]
RUN npm ci
COPY .sh /bin/
RUN chmod 755 /bin/.sh
CMD /bin/worker_start.sh
It works fine in mac
But when we deployed code to linux container it simple wont work
The text was updated successfully, but these errors were encountered: