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
Error: Stream yields empty buffer
at Socket. (C:\codebase\onboarding-api\node_modules\gm\lib\command.js:57:17)
at Socket.emit (events.js:203:15)
at Socket.EventEmitter.emit (domain.js:466:23)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
Need some insight here.
The text was updated successfully, but these errors were encountered:
@rbjoshi when you use toBuffer underlying errors are silently swallowed. For example, any issue calling the imagemagick command line utility will not show.
In order to get those, you'll have to use .write(fileImg, (error) => { for testing.
I am getting the below error while converting to PDF:
Code is below:
I am getting the error on gm().toBuffer() line
error logs looks like this
Need some insight here.
The text was updated successfully, but these errors were encountered: