You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error after running node server.js . . . Any ideas why?
Any help would be greatly appreciated!
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version
The magic happens on port 8080
/Users/AbeBook/test_node/easy-node-authentication/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/base.js:246
throw message;
^
MongoError: Authentication failed.
at Object.toError (/Users/AbeBook/test_node/easy-node-authentication/node_modules/mongoose/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at /Users/AbeBook/test_node/easy-node-authentication/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1196:31
at /Users/AbeBook/test_node/easy-node-authentication/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1905:9
at Server.Base._callHandler (/Users/AbeBook/test_node/easy-node-authentication/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at /Users/AbeBook/test_node/easy-node-authentication/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at MongoReply.parseBody (/Users/AbeBook/test_node/easy-node-authentication/node_modules/mongoose/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at null.<anonymous> (/Users/AbeBook/test_node/easy-node-authentication/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at emitOne (events.js:77:13)
at emit (events.js:169:7)
at null.<anonymous> (/Users/AbeBook/test_node/easy-node-authentication/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at emitTwo (events.js:87:13)
at emit (events.js:172:7)
at Socket.<anonymous> (/Users/AbeBook/test_node/easy-node-authentication/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:440:22)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
The text was updated successfully, but these errors were encountered:
I get the following error after running node server.js . . . Any ideas why?
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: