Comments (1)
Hey not sure if you still want an answer to this but thought I'd leave a comment anyway.
The 'Nohm Error' you're getting is actually just a warning, to resolve it you just need to wait until the redis client is connected before setting the client. This can be done by replacing 'nohm.setClient(redis);' with this:
redis.on("connect", function() {
nohm.setClient(redis);
//Anything you do afterwards that relies on the nohm client
});
This means that the client won't get set until after the redis client is connected.
As for your actual redis connection error, the issue there is that you're probably not actually running an instance of the redis server on your machine, or it's on a different port other than the default 6379. Make sure you have redis installed and a server running before running your server.js file.
Hope this helps. :)
from backbonetutorials.
Related Issues (20)
- There was an error converting '_posts/2011-01-26-what-is-a-collection.md/#excerpt'.
- Website not loading, lost-redirect? HOT 2
- Routing in modular-backbone example
- what is a model amend
- Backbone infinite scroll
- Recommended XSS protection htmlDecode() isn't actually safe HOT 1
- Uncaught ReferenceError: users not defined HOT 1
- Backbonejs tutorial HOT 1
- about update package.json
- : ReferenceError: users is not defined HOT 1
- Deprecation message after jekyll serve
- Using other character issue
- Access Control Expose Headers HOT 1
- Wrong tutorial, missing an argument in a function... HOT 2
- Config is Missing HOT 3
- home page suggestions HOT 1
- Depreciated jquery
- JQuery doesn't see .html() for script tags in Safari 7.0.2
- console log does not show up
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backbonetutorials.