martin J martin J - 2 months ago 5
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

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

That's the error.

Comments