Issue: 'react-pdf-js' build failed in React app because of 'minify failed'
Closed this issue · 1 comments
raincandy commented
Version: react-pdf-js 5.1.0 and 4.0.1
Environment: Node.js 10.16.3 on Windows 10 1903
Hi,
I used react-pdf-js
in my React project and it works well in local server. But when I try to build, it failed. Below is the error screenshot.
I tried to change version of this package, and it built successfully with 4.0.2
and 4.2.2
. But both of these two versions have their own problems. (both of them load pdf in a low resolution in my component that use react-pdf-js and v4.2.2 cannot show the pdf in correct direction, but these problems all solved in the latest/default version in npm)
Sincerely
mikecousins commented
Does it work with 5.5.0? That's the latest. Some of the older versions had issues.