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

135
Views
Webpack Imported Module is not a function on stream

I have added two files to my React project: ndjson-stream-reader.js and usage.js. I got them from here: https://gist.github.com/ornicar/a097406810939cf7be1df8ea30e94f3e

They are supposed to import chess games from lichess, at least that is my interpretation of what it is meant to do..

When I run usage.js from a button using an onClick event, I get the following error:

TypeError: _library_ndjson_stream_reader__WEBPACK_IMPORTED_MODULE_6___default(...) is not a function

I have no idea of even where to begin with this. Any pointers on what I might be doing wrong?

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!