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

213
Views
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
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!