Skip to content
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

Theme not loading #19

Open
sfmanso opened this issue May 21, 2020 · 2 comments
Open

Theme not loading #19

sfmanso opened this issue May 21, 2020 · 2 comments

Comments

@sfmanso
Copy link

sfmanso commented May 21, 2020

i keep getting this error everytime i try to load the application

TypeError: color.charAt is not a function
decomposeColor
node_modules/@material-ui/core/styles/colorManipulator.js:140
137 | return color;
138 | }
139 |

140 | if (color.charAt(0) === '#') {
| ^ 141 | return decomposeColor(hexToRgb(color));
142 | }
143 |

@3dv1n
Copy link

3dv1n commented Jun 16, 2020

Recently I discovered that Material-UI has been updated to v4. I was suppuose that the error was due to the change of version, in the tuturial is using v3. Then I downgrade the dependencies, but is still a error with the original code without changes:

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of App.

i think we have to draw out time to read the new material ui. Greetings!

@rahulnayanegali
Copy link

rahulnayanegali commented Jun 18, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants