-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@react-pdf/reconciler tries to access unlisted dependencies #2967
Comments
I have this problem too. |
Hello have the same problem:
|
Same with bun |
Same here, have unsuccessfully attempted suggested solutions such as:
|
Hi, @wojtekmaj I noticed that the library relies on scheduler as part of its functionality, but it is not explicitly declared in peerDependencies. This can cause issues in stricter dependency management environments, such as Yarn PnP, where undeclared dependencies are not automatically resolved. Would it make sense to add scheduler as a peerDependency to ensure compatibility, especially since it's tightly coupled with React? This might also help avoid potential version mismatches between scheduler and React. |
@diegomura Thank you! ❤️ |
Describe the bug
@react-pdf/reconciler tries to access unlisted dependencies, making the installations non-deterministic and depending on pure luck to work.
To Reproduce
Install @react-pdf using Yarn PnP, which points out such errors immediately instead of failing silently.
Expected behavior
Package to work
Actual behavior
The text was updated successfully, but these errors were encountered: