sudo service mongodb start
I get back "start: Job is already running: mongodb" from the terminal
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
Focus guys this list is destined to share knowledge about nodejs.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/XF9mhLAGepQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/XF9mhLAGepQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.
Is just a undefined variable the guy is learning nodejs, is natural in the learning curve confusing apples with bananas...
You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/XF9mhLAGepQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.
But the question is... why are you feeling insulted? Just see that guy is angry because he did not understand something. I did not saying that he is right. Im trying to explain that you have to keep the mind free of feelings when you try explain or help an angry person. That will helps you to not begin an unconstrutive conversation gets longer.
--
Sorry Frank if I did sound a little bit mean, it wasn't my intention. I just assumed that you don't know the language because you posted one line of code that makes use of two Javascript variables and an error that tells you there is one of them that is not defined and as a result your subject was: "mongodb is so confusing!".
As you may know from others already:
- your variable user is not defined
- mongo is running fine
- mongo has nothing to do with a Javascript variable being undefined
- you can check out in github some libraries for using mongodb from node that will help you get along with it
- my virginity is a private variable
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/XF9mhLAGepQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.
It does not require mongoose. You can use the native mongodb driver
installed with `npm install mongodb` and require it with `mongodb =
require('mongodb')`.
It does not requires a user being declared. You could have put your
method right away but that's kind of messy. Something like:
app.get('/users', function (req, res, next) {
// Your operations go here
});
As you can see that's pure JavaScript and user was supposed to be an
Object with the methods for users-related actions.