npm add @nostr-dev-kit/ndk-svelte-components doesnt work for me:
npm add @nostr-dev-kit/ndk-svelte-components
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
new version of ndk-svelte-components (and NDK too)
๐ Minimally-styled event cards
```
```
and it will render it.
Supported kinds:
* Short notes (kind:1)
* Highlights (kind:9802)
This is minimal, but it's lays the foundation. Eventually every event kind will be supported.
Kudos to nostr:npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn, he doesn't know it, but it's pretty much fully his code from Coracle doing this ๐
npm add @nostr-dev-kit/ndk-svelte-components doesnt work for me:
npm add @nostr-dev-kit/ndk-svelte-components
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
Hmm thatโs weird af ; does it say anything else? What npm version?
Yes, all the output:
npm add @nostr-dev-kit/ndk-svelte-components
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: linktr@0.0.1
npm ERR! Found: svelte@4.0.1
npm ERR! node_modules/svelte
npm ERR! dev svelte@"^4.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@"^3.54.0" from @nostr-dev-kit/ndk-svelte-components@0.3.0
npm ERR! node_modules/@nostr-dev-kit/ndk-svelte-components
npm ERR! @nostr-dev-kit/ndk-svelte-components@"*" 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.
Looks that its because the svelte version?
npm 8.19.3