Closed midnightcodr closed 4 years ago
Never mind. I found the cause of the error - I didn't use .then()
or await
on the clamscan
instance. To fix the problem is as simple as
const clamscan = new NodeClam()
await clamscan.init({
clamdscan: {
host: '127.0.0.1',
port: 3310,
}
});
Great! Glad you figured it out. :-) I'm sorry I never saw this issue come through--I would have been happy to point that out.
No problem. I am so happy to find your library that provides the Stream/Transform ability that I need in my application.
I am trying out the passthrough() example but unfortunately I am getting this
I am initializing the connection options as
as I am running the clamav service in a docker container (
telnet 127.0.0.1 3310
works btw).Ideas?