Comments (5)
I can confirm that 2.1.1 fixed all the warnings. Thanks a lot!
from svelte-icon.
There's a need to update all the build tools, since svelte-package has changed the way works.
Meanwhile I've updated manually the .exports in package.json for 2.0.2, please try it out to see if the warning is still there
from svelte-icon.
While version 5 is the current major version of svelte, we are still using svelte 4.
So we upgraded to svelte-icon 2.1.0 and this warning is gone. But in exchange we had to do a force install because of the dependency conflict that is now introduced.
❯ npm install --save-dev svelte-icon ~/p/pwss/frontend/email
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/svelte
npm ERR! dev svelte@"^4.2.15" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@"^3" from [email protected]
npm ERR! node_modules/svelte-icon
npm ERR! dev svelte-icon@"^2.1.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/vwh2ipn/.npm/_logs/2024-04-19T07_39_34_881Z-eresolve-report.txt
svelte-icon works without problems with svelte 4 btw.
from svelte-icon.
Just for information: We use this lib for all kind of SVGs, not just icons. It's the most simplest way to control SVG illustrations in a svelte project. Really great for it. Just to let you know...
from svelte-icon.
Had the wrong semver for the peerDepenencies, should be fixed in 2.1.1
from svelte-icon.
Related Issues (9)
- requesting webpack version HOT 2
- Does not work with Sapper HOT 13
- fix link to zondicons HOT 1
- Vite Config HOT 2
- Regex for removing svg doesn't support line breaks HOT 2
- Migrate to sveltekit library HOT 2
- Title support HOT 1
- Asvelte4 compatibility issue HOT 2
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 svelte-icon.