title: schema mongoose unexpected identifier
body: <p>When i run this code with nodejs, it returns me this error: <strong>&quot;SyntaxError: Unexpected Identifier&quot;</strong> in this line...</p>
  <blockquote>
  <p>var user_schema = New Schema({</p>
  <pre><code>                       ^^^^^^^
  </code></pre>
  </blockquote>
  <p>i do not know what is the problem... (sorry for my english, i speak spanish)</p>
  <pre><code>---------------- APP.JS CODE ------------------
  
  var http = require(&quot;http&quot;);
  var express = require(&quot;express&quot;);
  var app = express();
  var jade = require(&quot;jade&quot;);
  var mongodb = require(&quot;mongodb&quot;);
  var mongoose = require('mongoose');
  var user = require(&quot;./public/js/users&quot;).user;
  var bodyparser = require(&quot;body-parser&quot;);
  
  app.set('view engine', 'jade');
  mongoose.connect(&quot;mongodb://localhost/SoR&quot;);
  app.use(express.static(&quot;public&quot;));
  app.use(&quot;/public&quot;,express.static(&quot;public&quot;));
  app.use(bodyparser.json());
  //app.use(bodyparser.urlEncoded({extended: true}));
  
  app.get(&quot;/login&quot;,function(req,res){
      res.render(&quot;login&quot;);
  });
  
  app.get(&quot;/&quot;,function(req,res){
      res.render(&quot;index&quot;);
  });
  
  app.get(&quot;/signup&quot;,function(req,res){
      res.render(&quot;signup&quot;);
  });
  
  app.post(&quot;/users&quot;,function(req,res){
      var user = new user({email: req.body.email, username: req.body.username, password: req.body.password});
      user.save(function(){
          console.log(req.body.email);
          console.log(req.body.password);
          console.log(req.body.id);
          res.send(&quot;save succesfull&quot;);
      });
  });
  
  app.listen(8080);
  
  
  
  ---------------USERS.JS CODE -----------
  
  var mongoose = require('mongoose');
  var Schema = mongoose.Schema;
  
  var user_schema = New Schema({
      email: String,
      username: String,
      password: String
  });
  
  var user = mongoose.model(&quot;user&quot;,&quot;user_schema&quot;);
  mongoose.connect(&quot;mongodb://localhost/SoR&quot;);
  module.exports.user = user;
  </code></pre>