Skip to content

Readme Example not Working #7

Description

@amonaco

When following the README file example I get the following error:
(I'm using Node v0.10.24)

/usr/src/bar/node_modules/redis-shard/index.js:77
        var node = self.ring.get(arguments[0]);
                             ^
TypeError: Cannot call method 'get' of undefined
    at Object.self.(anonymous function) [as set] (/usr/src/bar/node_modules/redis-shard/index.js:77:30)
    at Object.<anonymous> (/usr/src/bar/shard.js:9:7)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:902:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions