D:\test\node-elm-master\node_modules\mongodb\lib\mongo_client.js:421 throw err ^MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017] at Pool.<anonymous> (D:\学习重地\网上下载的项目\node-elm-master\node_modules\mongodb\node_modules\mongodb-core\lib\topologies\server.js:336:35) at emitOne (events.js:96:13) at Pool.emit (events.js:188:7) at Connection.<anonymous> (D:\学习重地\网上下载的项目\node-elm-master\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:280:12) at Connection.g (events.js:292:16) at emitTwo (events.js:106:13) at Connection.emit (events.js:191:7) at Socket.<anonymous> (D:\学习重地\网上下载的项目\node-elm-master\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:187:49) at Socket.g (events.js:292:16) at emitOne (events.js:96:13) at Socket.emit (events.js:188:7) at emitErrorNT (net.js:1277:8) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9)Program node --harmony index.js exited with code 1Starting child process with 'node --harmony index.js'
添加回答
举报
0/150
提交
取消