-
-
Notifications
You must be signed in to change notification settings - Fork 231
Closed
Labels
Description
Related plugins
Describe the bug
After building the react application with vite.js, I get this error when I access the application's home page:
react.production.min.js:20 Uncaught TypeError: Cannot set properties of undefined (setting 'Children') at requireReact_production_min (react.production.min.js:20:1) at requireReact (index.js:4:20) at requireUseSyncExternalStoreWithSelector_production (use-sync-external-st…production.js:12:13) at requireWithSelector (with-selector.js:4:20) at with-selector.js:7:1.
When I open the application in development, the error is not present in production mode, it is present. Have you ever encountered this problem? Thanks in advance.
Reproduction
vite.new/reac
Steps to reproduce
No response
System Info
Jenkins + vite last + react 19Used Package Manager
yarn
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable