0

在尝试设置此框架应用程序时,我不断收到此错误。我不知道如何解决这个问题。任何输入将不胜感激。我只是想把这该死的东西弄上去。

C:\Users\x\Desktop\mean-stripdown-master>node server
Express app started on port 3000

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: failed to connect to [localhost:27017]
    at null.<anonymous> (C:\Users\x\Desktop\mean-stripdown-master\node_modul
es\mongoose\node_modules\mongodb\lib\mongodb\connection\server.js:540:74)
    at EventEmitter.emit (events.js:106:17)
    at null.<anonymous> (C:\Users\x\Desktop\mean-stripdown-master\node_modul
es\mongoose\node_modules\mongodb\lib\mongodb\connection\connection_pool.js:140:1
5)
    at EventEmitter.emit (events.js:98:17)
    at Socket.<anonymous> (C:\Users\x\Desktop\mean-stripdown-master\node_mod
ules\mongoose\node_modules\mongodb\lib\mongodb\connection\connection.js:478:10)
    at Socket.EventEmitter.emit (events.js:95:17)
    at net.js:441:14
    at process._tickCallback (node.js:415:13)
4

0 回答 0