Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

215
Vistas
Cannot read a tsv file (TS node)

I try to read a tsv file in node and already tried several libraries. Really strange, the pattern of errors remains the same, first I get this kind of error Error [ERR_REQUIRE_ESM]: require() of ES Module , after I downgrade the module that is recommended (which I also dont understand well, its quite inconvenient to be forced to downgrade packages in order to use them with the import statement.
After downgrading I get this error await d3_1.default.tsv('../data/file.tsv'); ^ TypeError: Cannot read properties of undefined

I tried already some libraries, d3 or d3-dsv and get same kind of errors, though I write the same code as in the docs, e.g. await d3.tsv('../data/file.tsv');

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda