Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mapReduce error #137

Open
mercicle opened this issue Apr 23, 2014 · 1 comment
Open

mapReduce error #137

mercicle opened this issue Apr 23, 2014 · 1 comment

Comments

@mercicle
Copy link

I'm trying to reproduce this tutorial using mongoskin:
http://tebros.com/2011/07/using-mongodb-mapreduce-to-join-2-collections/

And I get this error:

TypeError: undefined is not a function

/MyDirectory/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: undefined is not a function
at /MyDirectory/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/collection/aggregation.js:91:14
at /MyDirectory/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/db.js:1806:9
at Server.Base._callHandler (/MyDirectory/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/base.js:442:41)
at /MyDirectory/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/server.js:485:18
at MongoReply.parseBody (/MyDirectory/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at null. (/MyDirectory/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/server.js:443:20)
at EventEmitter.emit (events.js:95:17)
at null. (/MyDirectory/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:191:13)
at EventEmitter.emit (events.js:98:17)
at Socket. (/MyDirectory/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/connection.js:418:22)

@VonD
Copy link

VonD commented Jun 11, 2014

HI,

Did you find any workaround to use mapReduce with mongoskin ? I'm considering going back to the native mongodb driver because of the lack of support for mapReduce.
Thanks for your help,

Paul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants