Comments (5)
Tried updating astro after astro-compress and it seems to be working now (suspecting that it might not be the cause, though).
from astro-icon.
It seems caused by doing npm up
. Updating each dependency individually with npm i
makes it work.
It's strange that it errors out by running npm up
- possibly caused by the sub-dependencies newer versions?
from astro-icon.
Still getting the error. The message seems to have been updated:
generating static routes
▶ src/pages/index.astro
file:///[...]/.vercel/output/static/entry.mjs?time=1673432112179:2257
throw new Error(`[astro-icon] Unable to load icon "${name}"!
^
Error: [astro-icon] Unable to load icon "ic:sharp-start"!
Error: Unknown builtin plugin "cleanupIDs" specified.
from astro-icon.
Hey @Veylkh I'm having the same issue. I might look more into the cleanupID's when I have more time but for now I'm not using this addon until a fix is found.
from astro-icon.
Looks like you have updated to SVGO v3 which changed cleanupIDs
to cleanupIds
. There is a current issue already for this issue. #65
from astro-icon.
Related Issues (20)
- Icon props: Accept `size?: string` to pass size units
- Missing Props.ts file referenced in Readme.md
- Generated IDs on symbol elements are not valid XML
- Cannot change color of icon using styling HOT 2
- feature: Disable optimized sprites HOT 1
- Cannot read properties of undefined (reading 'info') HOT 3
- feature: need to swap Out SVG Icons
- <Icon> components with different svg icons show up as the same icon. HOT 1
- Automatically optimized sprites
- Using dynamic icon names fails during build HOT 2
- FATAL ERROR: Reached heap limit Allocation failed
- Why is fill="currentColor" applied to paths automatically? HOT 1
- Change size property to allow strings HOT 1
- Icon not showing (Symbol element missing from SVG) on Error pages HOT 1
- Future maintenance? HOT 3
- Error when evaluating SSR module "astro-icon" HOT 24
- [vite] Error when evaluating SSR module D:\VSCODE\astro-blog\astro.config.mjs: failed to import "astro-icon" HOT 5
- [vite] ..Failed to import "astro-icon" HOT 3
- Duplicate Icons on Chromium Based Browsers HOT 4
- When Astro enables SSR mode, the build output js is too large HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astro-icon.