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

98
Views
TypeError: no se puede asignar a la propiedad de solo lectura 'mapa' del objeto '#<QueryCursor>'

Recibo este error cuando traté de alojar mi bot de registro en pterodactyl , pero funciona completamente bien cuando lo alojo en mi localhost o replit .

Estoy usando la versión 5.11.14 y solía funcionar bien.

 const mongoose = require(`mongoose`); const { db_pass } = require(`../../data/config.json`) module.exports = { init: () => { const dbOptions = { useNewURLParser: true, useUnifiedTopology: true, autoIndex: false, poolSize: 5, connectTimeoutMS: 10000, family: 4 } mongoose.connect(`mmy connection`, { useUnifiedTopology: true, useNewUrlParser: true }) mongoose.set('useFindAndModify', false) mongoose.Promise = global.Promise mongoose.connection.on('connected', () => { console.log("Connected to the database!") }) mongoose.connection.on('disconnected', () => { console.log("Disconnected from the database!") }) mongoose.connection.on('err', (err) => { console.log("Error on the db " + err) }) } }

El error:Terminal

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!