title: Incomplete key value pair for option remote mongodb
body: <p>I'm trying to deploy my local node mongoDB app to Heroku. Everything is working fine on my local machine, no errors.</p>
  
  <p>First thing I'm trying to do is to connect to a database on mlab. It seen very straight forward but I get this error:</p>
  
  <pre><code>err { MongoParseError: Incomplete key value pair for option
    name: 'MongoParseError',
    message: 'Incomplete key value pair for option',
    [Symbol(mongoErrorContextSymbol)]: {} }
  </code></pre>
  
  <p>My code looks like this:</p>
  
  <pre><code>    var mongoose = require('mongoose');
  
      const options = {
              useNewUrlParser: true
            };
  
      mongoose.connect("mongodb://username:password@xxxxx.mlab.com:39251/nameodDB",options).then(
     ()=&gt;{
        console.log("connected to mongoDB")},
     (err)=&gt;{
         console.log("err",err);
   });
  </code></pre>