-
Notifications
You must be signed in to change notification settings - Fork 10
Error: Cannot find module 'blob-stream' #14
Comments
it's happening with me too |
Ok, I was wrong: seems to be specific to |
The goal with diegomura/react-pdf#1891, which eventually ended up in @react-pdf/renderer v3.0.0, was to make this shim plugin obsolete. If you upgrade to 3.0.0, you should be able to safely and completely remove this shim. The workaround from my comment diegomura/react-pdf#1317 (comment) isn't necessary anymore either. Previously, react-pdf had blob-stream as a dependency, and this shim used it in some more places where react-pdf was not browser bundler compatible out of the box. In diegomura/react-pdf#1891 I fixed all these incompatibilities directly in react-pdf, so the shim is no longer necessary. |
Thanks @carlobeltrame, I'll mark this shim as obsolete on NPM and here. A proper upstream fix is way better than a shim always. |
Done, thanks again! |
Hmm... I'm a bit confused by this one. Suddenly, my project refuses to build. This is the stack trace I'm getting:
This happens with:
@react-pdf/renderer
@3 or @2.3I am unable to run
yarn add vite-plugin-shim-react-pdf
Not sure how to resolve this ...or even make it reproductible. As "blob-stream" isn't even a dependency of the shim (that I know of). Mostly wanting to see if anyone is encountering this, I guess... ?
The text was updated successfully, but these errors were encountered: