我对堆栈开发很陌生,但想学习。尝试使用 pbctrl start 运行pencilblue时,出现以下错误:
错误信息
Override file [/Users/Illusion/peter/config.js] will be applied.
2015-10-12T12:36:29.683Z - info: [M] SystemStartup: Log Level is: info
2015-10-12T12:36:29.992Z - info: [M] System[M]: 1 workers spawned. Listening for disconnects.
Override file [/Users/Illusion/peter/config.js] will be applied.
2015-10-12T12:36:30.231Z - info: [1] SystemStartup: Log Level is: info
/Users/Illusion/peter/node_modules/mongodb/lib/server.js:228
process.nextTick(function() { throw err; })
^
Error: MongoError: connect ECONNREFUSED 127.0.0.1:27017 - mongodb://127.0.0.1:27017/pencilblue
Is your instance running?
at /Users/Illusion/peter/include/dao/db_manager.js:84:31
at /Users/Illusion/peter/node_modules/mongodb/lib/mongo_client.js:236:20
at /Users/Illusion/peter/node_modules/mongodb/lib/db.js:203:14
at null.<anonymous> (/Users/Illusion/peter/node_modules/mongodb/lib/server.js:226:9)
at g (events.js:260:16)
at emitTwo (events.js:87:13)
at emit (events.js:172:7)
at null.<anonymous> (/Users/Illusion/peter/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:255:68)
at g (events.js:260:16)
at emitTwo (events.js:87:13)
Override file [/Users/Illusion/peter/config.js] will be applied.
2015-10-12T12:36:30.900Z - info: [2] SystemStartup: Log Level is: info
/Users/Illusion/peter/node_modules/mongodb/lib/server.js:228
process.nextTick(function() { throw err; })
你能建议做错了什么吗?