mongoose problem
Initialize Completed, Server runnng on port: 8082 for environment: test (node:2512) DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html
events.js:160
throw er; // Unhandled 'error' event
^
MongoError: failed to connect to server [127.0.0.1:27017] on first connect
at Pool.
I didn't change anything, database is giving me problem it seems.
Its just failing to connect to your database, please double check your mongodb settings and ensure the database is running at 127.0.0.1:27017
I get this error a few seconds after it says the server is running.
events.js:72
throw er; // Unhandled 'error' event
^
Error: connection closed
at null.<anonymous> (c:\Users\Yushe\WebstormProjects\mmorpg\node_modules\mongoose\node_modules\mongodb\lib\mongodb\connection\server.js:601:24)
at emit (events.js:92:17)
at null.<anonymous> (c:\Users\Yushe\WebstormProjects\mmorpg\node_modules\mongoose\node_modules\mongodb\lib\mongodb\connection\connection_pool.js:165:15)
at emit (events.js:98:17)
at Socket.<anonymous> (c:\Users\Yushe\WebstormProjects\mmorpg\node_modules\mongoose\node_modules\mongodb\lib\mongodb\connection\connection.js:549:12)
at Socket.emit (events.js:95:17)
at TCP.close (net.js:465:12)