Skip to content

kew kew not working #1

@rncortes1990

Description

@rncortes1990

Hi there, I was installing this node module, and is not working, i dont know if I have to install another dependency, but I have this error just after declaring the first var queue(as wrote in first example) this is the code fragment and this is the error thrown. But first I have to say that im using hapi js as backend with mongo db

var KewKew = require('kewkew');
var queue = new KewKew(function worker(job, callback) {
  console.log(job.data + 1);
  callback();
});

and this is the error

  if (true === options.destroySuccessfulJobs) { // disables these options
                      ^

TypeError: Cannot read property 'destroySuccessfulJobs' of undefined

Thank you for your time, love the documentation I hope is not a problem that I work in windows.

Hugs from Chile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions