V
V
Vyacheslav Lebedev2015-07-07 18:19:48
JavaScript
Vyacheslav Lebedev, 2015-07-07 18:19:48

How to overcome error when starting Derby.js?

Good evening!
I am doing the first installation of the framework, I want to compare it with meteor.
Meteor started up the first time, without any hassle.
What I can’t say about Derby, I don’t know, maybe my hands are crooked.
I go by mana (I tried it a couple of times), step by step.
And every time I get an error :(

first-project$ npm start

> [email protected] start /home/slavikse/Документы/first-project
> node server.js

Master pid  2847

/home/slavikse/Документы/first-project/node_modules/derby/node_modules/racer/node_modules/share/node_modules/livedb/lib/index.js:124
    throw Error('If you want to use redis, you need to instantiate the redis d
          ^
Error: If you want to use redis, you need to instantiate the redis driver separately and provide it to livedb via driver:livedb.redisDriver(db, redis, redisObserver
    at Error (<anonymous>)
    at new Livedb (/home/slavikse/Документы/first-project/node_modules/derby/node_modules/racer/node_modules/share/node_modules/livedb/lib/index.js:124:11)
    at Object.Livedb (/home/slavikse/Документы/first-project/node_modules/derby/node_modules/racer/node_modules/share/node_modules/livedb/lib/index.js:119:41)
    at new ShareInstance (/home/slavikse/Документы/first-project/node_modules/derby/node_modules/racer/node_modules/share/lib/server/index.js:18:27)
    at Object.exports.createClient (/home/slavikse/Документы/first-project/node_modules/derby/node_modules/racer/node_modules/share/lib/server/index.js:125:10)
    at new Store (/home/slavikse/Документы/first-project/node_modules/derby/node_modules/racer/lib/Store.js:17:35)
    at Racer.createStore (/home/slavikse/Документы/first-project/node_modules/derby/node_modules/racer/lib/Racer.server.js:8:15)
    at Object.<anonymous> (/home/slavikse/Документы/first-project/lib/server/index.js:28:19)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2015-07-07
@slavikse

The answer is in the error itself.

If you want to use redis, you need to instantiate the redis driver separately and provide it to livedb via driver:livedb.redisDriver(db, redis, redisObserver

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question