-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot set property 'pause' of undefined #26
Comments
@jeancarlos1111 I'll look into this. Thanks for the bug report. |
I got this one too. |
Same error here - nmap 7.40 / macOS Sierra |
Same here nmap 7.60 / gentoo Linux... Wild guess: Could it be, that the call fails, because newer nmaps require root-priviledges for os-names and mac-addresses? |
it's related to : Johnhhorton/queued-up#5 |
- this._queue = new Queue((host) => {
+ this._queue = new Queue(function (host) { |
@job-so I try to run a queued scan with your revise and got error as follow:
|
Hi @raphaelsoul Did you use this patch : job-so@722590c#diff-168726dbe96b3ce427e7fedce31bb0bc or a combination of both ? Is there any fork of your code I may look at ? Thanks. Olivier. |
I am also getting the Any tips on what else you might need to change? |
Hi @PierrickI3 , which version of node.js are you using ? |
Hey @job-so, v8.9.1 |
OK my fault ... :-(
Let me know if it helps |
That worked. Thanks @job-so ! |
/home/jean/app_node/hostname_nmap/node_modules/queued-up/index.js:23
this.action.prototype.pause = this.pause;
^
TypeError: Cannot set property 'pause' of undefined
at new Queue (/home/jean/app_node/hostname_nmap/node_modules/queued-up/index.js:23:37)
at QueuedScan (/home/jean/app_node/hostname_nmap/node_modules/node-nmap/index.js:260:19)
at QueuedOsAndPortScan (/home/jean/app_node/hostname_nmap/node_modules/node-nmap/index.js:433:5)
at Object. (/home/jean/app_node/hostname_nmap/index.js:14:12)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
The text was updated successfully, but these errors were encountered: