'how can solve deploy material ui icon on vercel
i'm trying to deploy my website on vercel, everything is working fine on my localhost3000 but when i try to deploy it on vercel, i keep getting this Error Module not found: Can't resolve '@mui/icons-material/Github' in '/vercel/path0/components. please why is it not working or do i need to reinstall the material icon package
here is my code
import GithubIcon from "@mui/icons-material/Github"
const Footer = () => {
return (
<div className="pb-4">
<div className="flex justify-center space-x-8 m-3">
<a href="https://github.com/Emmanueluzoezie"><GithubIcon className="cursor-pointer lg:text-4xl"/></a>
</div>
</div>
)
}
export default Footer
Solution 1:[1]
the h in the github was uppercase not smallercase
this is what i was using
import GithubIcon from "@mui/icons-material/Github"
instead of this
import GitHubIcon from "@mui/icons-material/GitHub"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Emmanuel uzoezie |
