-
-
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
Build errors on Vercel #93
Comments
I have this same problem while I am inside a vercel turborepo... I can create a standalone project and it works just fine but when I add that project to a vercel turborepo I get those errors. So maybe it is not specifically an astro-icon problem. I am still digging into the issue. |
I have tried this today with a local SVG and it's the same |
same error on cloudflare |
I have found a workaround for now, that involves adding |
Thanks @JayBox325 adding "svgo": "2.8.0" to devDependencies works. |
This looks like it is due to |
Svgo 3.0.+ need to be downgrade to 2.8.0 and set in devDependencies in package.json :
|
This a duplicate of #76 |
Changed the svgo dev dependency to try to address astro-icon "icon can't be found" messages - didn't work, but left it for building. natemoo-re/astro-icon#93
Please see this error. It happens for all icons, but the build process works perfectly on my local environment:
The text was updated successfully, but these errors were encountered: