First installed npx create-next-app@latest, then npm install @web3modal/wagmi wagmi viem @tanstack. As a result, this error appears. What could be the ways to solve this?
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN peer react@">=16.8.0" from @emotion/[email protected]
npm WARN node_modules/@emotion/react
npm WARN @emotion/react@"^11.11.4" from @thirdweb-dev/[email protected]
npm WARN node_modules/@thirdweb-dev/react
npm WARN 3 more (@emotion/styled, thirdweb, @emotion/styled)
npm WARN 63 more (@emotion/use-insertion-effect-with-fallbacks, ...)
npm WARN Could not resolve dependency:
npm WARN peer react@"18.2.0" from [email protected]
npm WARN node_modules/react-native
npm WARN peerOptional react-native@"*" from @metamask/[email protected]
npm WARN node_modules/@metamask/sdk
npm WARN 5 more (@metamask/sdk-install-modal-web, ...)
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN peer react@"18.2.0" from [email protected]
npm WARN node_modules/react-native
npm WARN peerOptional react-native@"*" from @metamask/[email protected]
npm WARN node_modules/@metamask/sdk
npm WARN 5 more (@metamask/sdk-install-modal-web, ...)
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/@metamask/sdk/node_modules/i18next
npm WARN i18next@"22.5.1" from @metamask/[email protected]
npm WARN node_modules/@metamask/sdk
npm WARN @metamask/sdk@"0.18.6" from @wagmi/[email protected]
npm WARN node_modules/@wagmi/connectors
npm WARN 1 more (@metamask/sdk-install-modal-web)
npm WARN Could not resolve dependency:
npm WARN peer i18next@">= 23.2.3" from [email protected]
npm WARN node_modules/@metamask/sdk/node_modules/react-i18next
npm WARN peer react-i18next@"^13.2.2" from @metamask/[email protected]
npm WARN node_modules/@metamask/sdk/node_modules/@metamask/sdk-install-modal-web
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/i18next
npm WARN peer i18next@">= 23.2.3" from [email protected]
npm WARN node_modules/@metamask/sdk/node_modules/react-i18next
npm WARN peer react-i18next@"^13.2.2" from @metamask/[email protected]
npm WARN node_modules/@metamask/sdk/node_modules/@metamask/sdk-install-modal-web
183 packages are looking for funding
run `npm fund` for details
9 moderate severity vulnerabilities
To address issues that do not require attention
npm audit fix
To address all issues (including breaking chang
npm audit fix --force
Run `npm audit` for details.
(npm audit fix –force) leads to an even worse situation
New contributor
Alexxz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.