-
Notifications
You must be signed in to change notification settings - Fork 20
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
Build error #69
Comments
@nghiant96 I just bumped the demo project to v18.0.0 with the existing Can you please retry with 1.6.0? I'm trying to not bump versions in this until I know there are breaking changes. Updated to v18.0.0 / 1.6.0 https://templarian.github.io/@mdi/react/ |
@Templarian https://templarian.github.io/@mdi/react/ isn't rendering in Edge & Safari here; console shows 404 returned for a couple of resources. |
@Templarian |
@versoworks Fixed, forgot to remove the absolute paths. 🤦 |
Shall we change the example code in the README? |
I just lost hours to this issue thinking it was my build process that was causing the error. Please add it to the README! |
As stated in the reference above, this is a bug in Vite : vitejs/vite#2139 |
This doesn't seem to work anymore? I get the following error:
|
Hello. I am using icon set for my project. It worked fine until. But when I build and run it doesn't work. I am using vite to build the project.
The full text of the error you just encountered is:
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Version of me:
"@mdi/js": "^6.5.95",
"@mdi/react": "^1.5.0",
"react": "^17.0.2",
The text was updated successfully, but these errors were encountered: