Queue.prototype.every is not working
Closed this issue · 0 comments
susemeee commented
...node_modules\kue-scheduler\index.js:190
var key = this.options.prefix + ':scheduler:' + uuid;
^
TypeError: Cannot read property 'prefix' of undefined
at Queue._getJobExpiryKey (...node_modules\kue-scheduler\index.js:190:25)
at Queue.checkIfJobAlreadyScheduled (...node_modules\kue-scheduler\index.js:822:14)
at nextTask (...node_modules\kue-scheduler\node_modules\async\dist\async.js:5297:14)
at next (...node_modules\kue-scheduler\node_modules\async\dist\async.js:5304:9)
at ...node_modules\kue-scheduler\node_modules\async\dist\async.js:906:16
at Queue.prepareJobDefinition (...node_modules\kue-scheduler\index.js:816:7)
at nextTask (...node_modules\kue-scheduler\node_modules\async\dist\async.js:5297:14)
at next (...node_modules\kue-scheduler\node_modules\async\dist\async.js:5304:9)
at ...node_modules\kue-scheduler\node_modules\async\dist\async.js:906:16
at ensureJobInstance (...node_modules\kue-scheduler\index.js:797:9)
at nextTask (...node_modules\kue-scheduler\node_modules\async\dist\async.js:5297:14)
at next (...node_modules\kue-scheduler\node_modules\async\dist\async.js:5304:9)
at ...node_modules\kue-scheduler\node_modules\async\dist\async.js:906:16
at ensureInterval (...node_modules\kue-scheduler\index.js:789:9)
at nextTask (...node_modules\kue-scheduler\node_modules\async\dist\async.js:5297:14)
at Object.waterfall (...node_modules\kue-scheduler\node_modules\async\dist\async.js:5307:5)
at Queue.every (...node_modules\kue-scheduler\index.js:783:9)
...
I'm currently using node 8.4.0 + Kue 0.11.6 + kue-scheduler 0.7.4