harryhorton / node-nmap

NPM package for interfacing with local NMAP installation
MIT License
67 stars 26 forks source link

ERR_UNHANDLED_ERROR : Unhandled error. #45

Open schweppes-0x opened 1 year ago

schweppes-0x commented 1 year ago

After running a certain CRON job combined with nmap i get this error:

Error [ERR_UNHANDLED_ERROR]: Unhandled error. ("nmap: Target.cc:503: void at new NodeError (node:internal/errors:372:5) at NmapScan.emit (node:events:516:17) at ChildProcess.<anonymous> (/home/pi/Downloads/network/node_modules/node-nma at ChildProcess.emit (node:events:527:28) at maybeClose (node:internal/child_process:1092:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) { code: 'ERR_UNHANDLED_ERROR', context: "nmap: Target.cc:503: void Target::stopTimeOutClock(const timeval*): }