ethers resolving to version 5.5.1 only
See original GitHub issueHi, when I upgrade to the latest version of siwe - 1.1.6
, I get the following errors when trying to npm install
:
$ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: <redacted>
npm ERR! Found: ethers@5.6.2
npm ERR! node_modules/ethers
npm ERR! ethers@"^5.5.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer ethers@"5.5.1" from siwe@1.1.6
npm ERR! node_modules/siwe
npm ERR! siwe@"1.1.6" 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.
npm ERR!
npm ERR! See /Users/safisaleem/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/safisaleem/.npm/_logs/2022-04-07T06_40_14_031Z-debug.log
any suggestions?
Issue Analytics
- State:
- Created a year ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
[bug] ethers dependency · Issue #762 · rainbow-me/rainbowkit
When trying to install dependencies having a newer version of ethers, I get this error, unless I use --force. I'm currently using ethers...
Read more >Invalid address or ENS name - ethereum - Stack Overflow
The error means the address you are passing is not in the right format hence presenting as an INVALID_ARGUMENT. It needs to be...
Read more >Ethers.js - Error when calling the mint function with eth value
I'm starting on Smart Contract and ERC721 Collectible NFT and I'm using Ethers as Provider and Metamask to ...
Read more >Siwe and ethers not working with npm : r/ethdev - Reddit
Both siwe and ethers version are conflicting, siwe needs ethers@5.5.1. You can try removing ethers from your package.json or check if latest ...
Read more >ethers - UNPKG
The CDN for ethers. ... 19, import { version } from 'ethers/_version'; ... 725, * A Promise<Network> that resolves only once the provider...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If I do
npm install siwe@beta
the issue is fixed for me, Thanks!We moved ethers to a peer dependency but it should not be fixed at 5.5.1 (this should just be the floor). As a workaround you could use this version in your project (if possible). Will work on a release asap.
On Thu, Apr 7, 2022, 3:47 AM safisaleem @.***> wrote: