diegomura / react-pdf

📄 Create PDF files using React
https://react-pdf.org
MIT License
14.9k stars 1.18k forks source link

Unable to install library on Gatsby "Can't resolve './zlib_bindings'" #1958

Open andrej18832 opened 2 years ago

andrej18832 commented 2 years ago

Hi, I am trying to get the library working on React js with Gatsby, after installing the package, I got the following error "Can't resolve './zlib_bindings'" wasn't able to resolve it in any way.

CharleneKwok commented 2 years ago

I have the same issue. Have you solved this problem?

CramerJ1470 commented 2 years ago

in Node_modules/lib/zlib.js I commented out //module.exports = require('./zlib_bindings');