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

220
Views
el paquete de texto a svg no funciona - ReactJS

Estoy usando el paquete text-to-svg para convertir mi text a svg , pero devuelve un error:

Módulo no encontrado: Error: No se puede resolver 'ruta' en 'E:{ruta al proyecto}\node_modules\text-to-svg\build\src'

CAMBIO IMPORTANTE: webpack < 5 solía incluir polyfills para los módulos principales de node.js de forma predeterminada. Este ya no es el caso. Verifique si necesita este módulo y configure un polyfill para él.

Si desea incluir un polyfill, debe:

  • agregue un respaldo 'resolve.fallback: { "ruta": require.resolve("ruta-navegador") }'
  • instale 'path-browserify' Si no desea incluir un polyfill, puede usar un módulo vacío como este: resolve.fallback: { "path": false } Captura de pantalla: ingrese la descripción de la imagen aquí

Traté de arreglar esto creando webpack.config.js y agregué este código a ese archivo:

 module.exports = { resolve: { fallback: { "path": require.resolve("path-browserify") } } }

e instalé path-browserify pero no solucionó nada. ¿Qué debería hacer ahora? He intentado mucho, pero estoy atascado. Por favor ayuda....

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!