The following example generates "TypeError: handle.setSimultaneousAccepts is not a function" on Windows:
const cluster = require('cluster');
const notifier = require('node-notifier');
if(cluster.isPrimary) {
cluster.fork();
notifier.notify('OK'); // this works
} else {
notifier.notify('Error'); // this generates handle.setSimultaneousAccepts is not a function
}
Tested with Windows 10, Node 16.16.0/16.13.2/16.13.1 and node-notifier 10.0.1 and 8.0.2.
The following example generates "TypeError: handle.setSimultaneousAccepts is not a function" on Windows:
Tested with Windows 10, Node 16.16.0/16.13.2/16.13.1 and
node-notifier
10.0.1 and 8.0.2.Thanks!