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
domtoimg.toPng no logra encapsular la imagen en el elemento HTML y devuelve recursos insuficientes

Al intentar usar domtoimage.toPng en elementos HTML que encapsulan imágenes, devuelve un error " ERR_INSUFFICIENT RESOURCES " no puede recuperar el recurso.

Causa raíz del problema Después de algunas depuraciones, me di cuenta de que devuelve un error no porque no pueda procesar la imagen, sino porque hay demasiadas imágenes para procesar. ¿Cómo puedo resolver este problema?

ingrese la descripción de la imagen aquí

 function convertToPng(page) { return new Promise((resolve, reject) => { //https://stackoverflow.com/questions/66306841/specific-file-on-aws-is-cors-blocked-when-using-domtoimage let options = { "cacheBust":true } resolve(domtoimage.toPng(page, options)); }); }
about 4 years ago · Santiago Gelvez
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!