Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Yarn Berry #288

Open
lvn-skate-dragon opened this issue Aug 2, 2023 · 3 comments
Open

Support Yarn Berry #288

lvn-skate-dragon opened this issue Aug 2, 2023 · 3 comments

Comments

@lvn-skate-dragon
Copy link

When adding @cosmos-kit packages with Yarn berry, it results in the error YN0002.

16:54:05.770 | ➤ YN0002: │ @cosmos-kit/compass-extension@npm:0.2.2 [4db35] doesn't provide @cosmjs/cosmwasm-stargate (p07d6d), requested by @cosmos-kit/core
16:54:05.771 | ➤ YN0002: │ @cosmos-kit/compass-extension@npm:0.2.2 [4db35] doesn't provide @cosmjs/stargate (p9b6b9), requested by @cosmos-kit/core
16:54:05.771 | ➤ YN0002: │ @cosmos-kit/compass-extension@npm:0.2.2 [4db35] doesn't provide cosmjs-types (pfe4c0), requested by @cosmos-kit/core
16:54:05.772 | ➤ YN0002: │ @cosmos-kit/compass-extension@npm:0.2.2 [dc3fc] doesn't provide @cosmjs/cosmwasm-stargate (pe607e), requested by @cosmos-kit/core
16:54:05.772 | ➤ YN0002: │ @cosmos-kit/compass-extension@npm:0.2.2 [dc3fc] doesn't provide @cosmjs/stargate (pc1400), requested by @cosmos-kit/core
16:54:05.772 | ➤ YN0002: │ @cosmos-kit/compass-extension@npm:0.2.2 [dc3fc] doesn't provide cosmjs-types (pe83d2), requested by @cosmos-kit/core
16:54:05.772 | ➤ YN0002: │ @cosmos-kit/compass@npm:0.1.7 doesn't provide @cosmjs/amino (pd7970), requested by @cosmos-kit/compass-extension
16:54:05.772 | ➤ YN0002: │ @cosmos-kit/compass@npm:0.1.7 doesn't provide @cosmjs/proto-signing (p5979b), requested by @cosmos-kit/compass-extension
16:54:05.773 | ➤ YN0002: │ @cosmos-kit/keplr-extension@npm:0.36.2 [930bb] doesn't provide @cosmjs/cosmwasm-stargate (p00337), requested by @cosmos-kit/core
16:54:05.773 | ➤ YN0002: │ @cosmos-kit/keplr-extension@npm:0.36.2 [930bb] doesn't provide @cosmjs/stargate (pbc0b7), requested by @cosmos-kit/core
...
16:54:05.778 | ➤ YN0002: │ @cosmos-kit/react-lite@npm:1.5.2 [dc3fc] doesn't provide @cosmjs/proto-signing (p9b4f6), requested by @cosmos-kit/core
16:54:05.778 | ➤ YN0002: │ @cosmos-kit/react-lite@npm:1.5.2 [dc3fc] doesn't provide cosmjs-types (pf439b), requested by @cosmos-kit/core
16:54:05.778 | ➤ YN0002: │ @cosmos-kit/walletconnect@npm:0.3.18 [16d57] doesn't provide @cosmjs/cosmwasm-stargate (p9f24b), requested by @cosmos-kit/core
16:54:05.778 | ➤ YN0002: │ @cosmos-kit/walletconnect@npm:0.3.18 [16d57] doesn't provide @cosmjs/stargate (pa664b), requested by @cosmos-kit/core
16:54:05.778 | ➤ YN0002: │ @cosmos-kit/walletconnect@npm:0.3.18 [16d57] doesn't provide cosmjs-types (p7b3ea), requested by @cosmos-kit/core
16:54:05.778 | ➤ YN0002: │ @cosmos-kit/walletconnect@npm:0.3.18 [27120] doesn't provide @cosmjs/cosmwasm-stargate (p6ede6), requested by @cosmos-kit/core
16:54:05.778 | ➤ YN0002: │ @cosmos-kit/walletconnect@npm:0.3.18 [27120] doesn't provide @cosmjs/stargate (paa6f1), requested by @cosmos-kit/core
16:54:05.778 | ➤ YN0002: │ @cosmos-kit/walletconnect@npm:0.3.18 [27120] doesn't provide cosmjs-types (p77f0e), requested by @cosmos-kit/core
@pyramation
Copy link
Collaborator

hey we haven't used yarn berry yet, is there a way yarn berry can use yarn 1.22.17 (this is the version I'm currently using which works)?

In osmojs I think we found a way to pin yarn to 1.18.0, maybe we could use similar if there isn't a native way for you to use another version.

@lvn-skate-dragon
Copy link
Author

No, yarn berry can't use 1.22.17, as its a different binary. I think yarn berry is from v2 and up. We're specifically using the latest which is v3. You should be able to test for issues within CI though. You can have your workflow install the packages with a matrix of yarn versions.

@hoangdv2429
Copy link

@pyramation Is there a need of upgrading cosmos-kit to yarn v4, if yes then I'm happy to work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants