reown-com / appkit

The full stack toolkit to build onchain app UX
https://reown.com/appkit
Apache License 2.0
4.9k stars 1.39k forks source link

[bug] Conflicting peer dependency: i18next@23.11.5 #2292

Closed truongthaison closed 4 months ago

truongthaison commented 4 months ago

Link to minimal reproducible example

https://stackblitz.com/

Summary

Hi there,

I'm facing a warning message when I install the web3-modal and Wagmi packages. This message:

image

npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: react-i18next@13.5.0 npm WARN Found: i18next@22.5.1 npm WARN node_modules/i18next npm WARN i18next@"22.5.1" from @metamask/sdk@0.20.3 npm WARN node_modules/@metamask/sdk npm WARN @metamask/sdk@"0.20.3" from @wagmi/connectors@5.0.2 npm WARN node_modules/@wagmi/connectors npm WARN 1 more (@metamask/sdk-install-modal-web) npm WARN npm WARN Could not resolve dependency: npm WARN peer i18next@">= 23.2.3" from react-i18next@13.5.0 npm WARN node_modules/react-i18next npm WARN peer react-i18next@"^13.2.2" from @metamask/sdk-install-modal-web@0.20.2 npm WARN node_modules/@metamask/sdk-install-modal-web npm WARN npm WARN Conflicting peer dependency: i18next@23.11.5 npm WARN node_modules/i18next npm WARN peer i18next@">= 23.2.3" from react-i18next@13.5.0 npm WARN node_modules/react-i18next npm WARN peer react-i18next@"^13.2.2" from @metamask/sdk-install-modal-web@0.20.2 npm WARN node_modules/@metamask/sdk-install-modal-web npm WARN deprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead. npm WARN deprecated @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead. npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. npm WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. npm WARN deprecated @babel/plugin-proposal-logical-assignment-operators@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead. npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. npm WARN deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead. npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated @motionone/vue@10.16.4: Motion One for Vue is deprecated. Use Oku Motion instead https://oku-ui.com/motion

List of related npm package versions

@web3modal/wagmi@alpha @wagmi/core @wagmi/connectors viem

linear[bot] commented 4 months ago

APKT-427 [bug] Conflicting peer dependency: i18next@23.11.5

glitch-txs commented 4 months ago

This is a Wagmi issue that downstreams from the MetaMask SDK, I'd try to contact them instead since we don't have control over that SDK