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

1.6K
Views
"[nodemon] salida limpia - esperando cambios antes de reiniciar": al intentar iniciar el servidor

Sigo encontrándome con este error al intentar ejecutar mi código...

 [nodemon] 2.0.15 [nodemon] to restart at any time, enter `rs` [nodemon] watching path(s): *.* [nodemon] watching extensions: js,mjs,json [nodemon] starting `node server.js` [nodemon] clean exit - waiting for changes before restart

Este es el código que estoy tratando de ejecutar:

 import app from "./server"; import mongodb from "mongodb"; import dotenv from "dotenv"; //configuiring dotenv for use dotenv.config(); const MongoClient = mongodb.MongoClient; const port = process.env.PORT || 8000; // if the port(5000 in this one) from dotenv file cant be accesed then access 8000 MongoClient.connect(process.env.RESTREVIEWS_DB_URI, { poolsize: 50, //max no of users at a time wtimeout: 2500, //timeout after 2500 ms useNewUrlParse: true, }) .catch((err) => { //if connection fails console.error(err.stack); process.exit(1); }) .then(async (client) => { app.listen(port, () => { console.log(`listening on the port ${port}`); }); }); // -- AND WE ARE DONE WITH THE DATABASE AND HAVE STARTED OUR WEB SERVER --

Intenté cambiar la política de ejecución a modo sin restricciones y remoto, pero aún no funciona. ¡Sería genial si alguien pudiera ayudarme a descubrir qué estoy haciendo mal!

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Intente revertir la versión de nodemon a 1.2.1 para solucionar el problema.

over 4 years ago · Santiago Trujillo Report
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!