Derby.js第一个新项目不起作用

时间:2013-09-16 04:26:06

标签: javascript node.js npm derbyjs

我尝试按照derbyjs.com上的教程进行操作。

npm install -g derby
cd ~
derby new first-derby-project
cd first-derby-project
npm start

但控制台输出:

> first-derby-project@0.0.0 start /Users/User104/first-derby-project
> node server.js

Master pid  3603
3604 listening. Go to: http://localhost:3000/

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED
    at RedisClient.on_error (/Users/User104/first-derby-project/node_modules/redis/index.js:163:24)
    at Socket.<anonymous> (/Users/User104/first-derby-project/node_modules/redis/index.js:86:14)
    at Socket.EventEmitter.emit (events.js:95:17)
    at net.js:441:14
    at process._tickCallback (node.js:415:13)

我在:

操作系统:OS X 10.8.4 npm:1.3.8 节点:v0.10.18 德比:0.5.10

1 个答案:

答案 0 :(得分:2)