martin J martin J - 1 year ago 41
Node.js Question

I can't find the error, so who can tell me, thanks

/Users/mac/page/node_modules/mongodb/lib/mongodb/connection/base.js:246
throw message;
^
TypeError: undefined is not a function

Answer Source

It's right there... Where it says TypeError: undefined is not a function.

That's the error.