-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Error with latest react builds #111
Comments
I seem to encounter the same error in env:
but it's ok in |
source code: |
I found that in |
If you use |
I believe this will fix the issue. Just waiting for the merge vitejs/vite#13487 |
18.3.0-canary-e91142dd6-20230705
works, but18.3.0-canary-fdc8c81e0-20230707
fails.It seems like facebook/react#27033 changes to use
import {registerServerReference} from "react-server-dom-webpack/server";
in the transformed file with packages/react-server-dom-webpack/src/ReactFlightWebpackNodeLoader.js, which might cause the error.Not yet sure how to fix it.
The text was updated successfully, but these errors were encountered: