You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Unfortunately, I've faced a problem when this module runs in some environments (I'm using node 8 LTS).
TypeError: Cannot read property 'length' of undefined
at SystemMonitor.calcLoad (node_modules/puppeteer-cluster/dist/SystemMonitor.js:35:36)
at Timeout.interval.setInterval [as _onTimeout] (node_modules/puppeteer-cluster/dist/SystemMonitor.js:23:56)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)
Hello! Unfortunately, I've faced a problem when this module runs in some environments (I'm using node 8 LTS).
Code that throws the error:
And the problem is related to the fact that
os.cpus
can sometimes returnundefined
: nodejs/node#19022The text was updated successfully, but these errors were encountered: