Closed bslayton closed 7 years ago
Hi @bslayton. Thanks for reporting this.
I am not getting the error here so it is a little hard to know exactly where the return statement is required. Can you please highlight which line/location a return is required?
If you go into your node_modules
directory and add the return does it fix it? Where did you add it?
Sorry. It looks like master is ahead of the NPM version. In the current master, it's line 28.
Adding return on that line, like so, fixes it. return q._changeFeedCursor.each(function (err, change) {
fixes it.
You ripper, thanks @bslayton. It's fixed in master and will be published with v2.
I'll leave this open till v2 is published.
Fixed in v2.0.
I get this error when starting a basic sub, using nodejs version
6.1.0
On line 24 in the file referenced
queue-db.js
, if you add a return before the promise, you're good to go.I don't think something this trivial warrants a PR. Nonetheless, if you want it in a PR, i'd be glad to submit one.