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

145
Views
How does one debug an error that only appears in deployed build and not in local?

I have built a React app (using CRA) and deployed to Netlify. Runs without error on local development server. When the same repo is pushed to remote and is running on Netlify, it is throwing the following error, which is related to react-pdf/renderer. Since I can't reproduce the error locally with the same repo, I'm not sure how to go about debugging it...But clearly something is different between the local build and the deployed build.

Error: unsupported number: -Infinity
    number pdfkit.browser.es.js:273
    p pdfkit.browser.es.js:1866
    transform pdfkit.browser.es.js:1865
    translate pdfkit.browser.es.js:1871
    y renderText.js:233
    d _curryN.js:34
    f _arity.js:10
    jt cond.js:42
    f _arity.js:10
    Ke _pipe.js:3
react_devtools_backend.js:4061:25

Thanks!

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!