-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Production build error - p.update(...) is undefined - makeStyles/sidebar.js #4225
Comments
I was just going through the tutorial from the empty app and I have the same. seems there is a bug on the material-ui. This is fixing the issue for me for now |
hi @adrid where exactly did you add this? in your create-react-app package.json? in the react-admin package.json. |
@OrenMe hey - yes - in my project package.json. now I use 4.8.1 - changing of the version did not help me as this is a bug on some other dependency. This solution only works with yarn (resolutions option). |
Thanks @adrid! |
fixed in 4.8.2 so everything should work normally now (for me it does) |
Considered resolved. |
What you were expecting:
To have my local build work in production. I deleted
node_modules
andpackage-lock.json
to have an identical environment but to no help.What happened instead:
A broken production build. It prevents my from logging in. Shows this error when the url changes, leaving me with a white screen.
Related code:
I have a very minimal install with almost no customization.
Other information:
inspector shows me it's related to this:
Environment
Latest Firefox & Chrome
The text was updated successfully, but these errors were encountered: