Global Feed Post Login
Replying to Avatar Gzuuus

i was tryin, but i keep having this trouble at the moment of add the dependency:

```

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-nostr@0.0.1

npm ERR! Found: svelte@4.0.5

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.2

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.

```

I would love to try, any suggestion?

Avatar
PABLOF7z 2y ago

try with pnpm? npm sucks

Reply to this note

Please Login to reply.

Discussion

Avatar
Gzuuus 2y ago

It works!!🔥 Also with yarn, seems that there are this problem using npm, ill open an issue in the repo, due there is this bug using the suggested npm👌

Thread collapsed