rarible / sdk

MIT License
83 stars 43 forks source link

install error #577

Open LarryShum opened 9 months ago

LarryShum commented 9 months ago

npm i @rarible/sdk

npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: @rarible/api-client@0.16.5-alpha.2 npm WARN Found: peer @rarible/types@">=0.10.0 <0.11.0" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @rarible/types@">=0.10.0 <0.11.0" from the root project npm ERR! code ETARGET npm ERR! notarget No matching version found for @rarible/types@>=0.10.0 <0.11.0. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.

arlenner commented 6 months ago

Also having this issue trying to install, bump ^^

vanya2h commented 6 months ago

Hello @LarryShum and @arlenner I guess the problem is that our SDK is not migrated to newer version of rarible/types (it's currently our priority to resolve this problem)

As a workaround you could try: put "@rarible/types": "~0.10.0-alpha.22" in your "dependencies" of package.json

arlenner commented 6 months ago

Thanks @vanya2h - also changing my node version from 20 to 17 seemed to solve a lot of my install issues, fyi for others 👀

cricridepa commented 5 months ago

I'm also having this issue and the fix from @vanya2h doesn't fix it :c