-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Error: Unable to locate the "mdi" icon set! #171
Comments
Same with simple-icons. Got it referenced in my Astro config and everything, even checked if I installed the package. Nothing. |
Yes. Tried that too. Now switched back to 0.8.2 |
I'm getting the same issue after updating to Tried with additional Configuration from docs but it did nothing. Guess it is time to switch back to |
I'm currently not spending a lot of time with web dev, but I'll try my best to try to replicate this soon! |
I'm having this same issue while using Some more context to the issue that I'm experiencing, when I run [
{
...,
"dependencies": { ... },
"devDependencies": { ... },
"unsavedDependencies": { ... }
}
] However when this package runs the command (loadIconifyCollections.ts#L102), [
{
...,
"dependencies": { ... },
"unsavedDependencies": { ... }
}
] I haven't looked any further as to why there is a difference as moving the packages out of |
Please include a minimal reproduction! It's a required field because it's not possible for me to fix the issue if I'm not able to check what is going wrong with your specific setup. I'll try to debug this with the information that's been shared so far. |
@xkeshav you haven't included the mdi icon pack in your config like described at https://www.astroicon.dev/reference/configuration/#include. Maybe try that? I did that and I'm getting a different error than yours now ( |
I have added; see package.json content I have shared. also tried installing with dependency instead of devDependencies but didn't work |
I was thinking about the include statement in the astro config, but that doesn't seem to fix it either. However I shared a (temporary) fix in #173! |
That should go into your Astro config. Then my issue is a different one, because even after that it doesn't work. |
Oh and don't forget to install the proper |
What version of
astro-icon
are you using?1.0.0
Astro Info
If this issue only occurs in one browser, which browser is a problem?
chrome
Describe the Bug
when run npm run dev ; it runs but when access in chrome; it crashed with below error in terminal
What's the expected result?
it should render icon properly
earlier version 0.8.2 was working fine without adding icon in integration
Link to Minimal Reproducible Example
N/A
The text was updated successfully, but these errors were encountered: