Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

214
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda