Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Use kue together with reds #66

kaikuehne opened this Issue · 1 comment

2 participants


this is rather a feature request than a bug.

I'd love to be able to use both kue and reds in one file.
I know it's because kue imports reds for the search cababilities in the ui.
My use case is that I want to put something in kue, but only if certain keys
are not already stored. How do I create a search object from kue without
importing reds?


This is the error I'm getting:

        throw e; // process.nextTick error, or 'error' event on first tick
TypeError: Cannot redefine property: defineProperty
    at Function.defineProperty (native)
    at Object.<anonymous> (/Users/kai/Desktop/heaven/node_modules/reds/node_modules/natural/lib/natural/prepare.js:23:8)
    at Module._compile (module.js:402:26)
    at Object..js (module.js:408:10)
    at Module.load (module.js:334:31)
    at Function._load (module.js:293:12)
    at require (module.js:346:19)
    at Object.<anonymous> (/Users/kai/Desktop/heaven/node_modules/reds/node_modules/natural/lib/natural/index.js:23:1)
    at Module._compile (module.js:402:26)
    at Object..js (module.js:408:10)

File contents:

var kue = require('kue');
var reds = require('reds');

This is a duplicate of: #63

@kaikuehne kaikuehne closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.