Problem with: react.production.min.js:20 Uncaught TypeError: Cannot set properties of undefined (setting 'Children') #563
Unanswered
BorzovRuslanR
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Related plugins
plugin-react
plugin-react-swc
plugin-react-oxc
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
Used Package Manager
yarn
Logs
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions