Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

300
Views
MongooseError: The "uri" parameter to "openUri()`

I have a huge problem with our project and I can not open it. I hope you can help me. I tested all the other solves that I found on google but nothing could help me out with that. this is my error:

mongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.Connection.openUri (/Users/user/Desktop/NEu/1/project-main/node_modules/mongoose/lib/connection.js:684:11)
    at /Users/user/Desktop/NEu/1/project-main/node_modules/mongoose/lib/index.js:330:10
    at /Users/user/Desktop/NEu/1/project-main/node_modules/mongoose/lib/helpers/promiseOrCallback.js:32:5
    at new Promise (<anonymous>)
    at promiseOrCallback (/Users/user/Desktop/NEu/1/project-main/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:10)
    at Mongoose._promiseOrCallback (/Users/user/Desktop/NEu/1/project-main/node_modules/mongoose/lib/index.js:1151:10)
    at Mongoose.connect (/Users/user/Desktop/NEu/1/project-main/node_modules/mongoose/lib/index.js:329:20)
    at Object.<anonymous> (/Users/user/Desktop/NEu/1/project-main/server.js:37:10)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
[nodemon] app crashed - waiting for file changes before starting...

Thank you a lot

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!