-
Notifications
You must be signed in to change notification settings - Fork 703
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
Upgrade to 9.96.4 possibly breaks next.js builds #1797
Comments
I'm having the same problem but I don't have sharp installed, maybe it's the right time to switch to |
Try disabling SWC minification and/or pinning to an earlier version like 14.0.1 if using newer features. This has been a repeat issue with Next.js (e.g. most recently vercel/next.js#58557) |
Quick fix npm i --save-exact @react-three/drei@9.96.1 |
I put out v9.96.5 which reverts that change. |
Thank you for contributing! We’re marking this issue as stale as a gentle reminder to revisit it and give it the attention it needs to move forward. Any activity, like adding an update or comment, will automatically remove the stale label so it stays on our radar. Feel free to reach out on Discord if you need support or feedback from the community. This issue will close automatically soon if there’s no further activity. Thank you for understanding and for being part of the project! |
We’re closing this issue to keep our project manageable and make room for other active work, but we truly appreciate your effort and contribution. If you’d like to continue working on this, please feel free to re-open it or reach out on Discord — our community is always ready to support you. Thanks again for helping us stay organized and for understanding our approach! |
A recent upgrade of this library seems to break builds in repos that have it as a dependency, possibly ones that also have sharp as dependency. Please see details of partial reproducibility signs below.
Package versions:
node
version: v18.17.0npm
(oryarn
) version: 1.22.19Problem description:
Build with no package.json, or code edits of any kind breaks both locally (next.js production build) and on vercel with:
The stacktrace resolves to an obfuscated file from the package. I have narrowed down the issue based on the following:
react-three/drei
was made using"@react-three/drei": "^9.82.0",
– based on this, and given that a new version (9.96.4) was released two hours ago, the above package.json reference automatically evaluated to 9.96.4 via^
(the latest non-major update)9.82.0
results in a successful build (next.js production build).We have not investigated further, and don't known the exact cause, but based on the above data points, there's likely an issue related / introduced by the new version.
Relevant code:
The text was updated successfully, but these errors were encountered: