lksv / node-resemble.js

LOOKING FOR MAINTAINER - Image analysis and comparison
MIT License
99 stars 37 forks source link

pngjs dependency randomly throwing errors #42

Closed mezgaAladar closed 6 years ago

mezgaAladar commented 6 years ago

The package is really nondeterministic, sometimes worked, but sometimes threw this error: "Error: There are some read requests waiting on finished stream" Have anyone met with the same issue? Maybe I just need to update the pngjs to a newer version? Thanks.

mezgaAladar commented 6 years ago

Sorry, the problem was in my code. I called the node-resemble in an async loop. It is working in a sync loop.