安装了mongoose 是不是就不用安装mongoDB了
C:\Users\chenxiaoming\my-movie\node_modules\.2.2.12@mongodb\lib\server.js:258
process.nextTick(function() { throw err; })
^
MongoError: failed to connect to server [localhost:27017] on first connect
at null.<anonymous> (C:\Users\chenxiaoming\my-movie\node_modules\.2.0.14@mongodb-core\lib\topologies\server.js:309:35)
at emitOne (events.js:90:13)
at emit (events.js:182:7)
at null.<anonymous> (C:\Users\chenxiaoming\my-movie\node_modules\.2.0.14@mongodb-core\lib\connection\pool.js:270:12)
at g (events.js:273:16)
at emitTwo (events.js:100:13)
at emit (events.js:185:7)
at Socket.<anonymous> (C:\Users\chenxiaoming\my-movie\node_modules\.2.0.14@mongodb-core\lib\connection\connection.js:175:49)
at Socket.g (events.js:273:16)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at emitErrorNT (net.js:1249:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)