You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
With the current version of hardhat (2.12.4) hardhat-ethers is loaded from hardhat-toolbox package. So as the best way to replace default hardhat-ethers package with npm:hardhat-deploy-ethers I used custom overrides in package.json file, which you can see below
It worked perfectly well, however it stopped working few days ago and started to throw this error instead:
I decided to just install hardhat-deploy-ethers using npm install --save-dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers command. This trick worked, however I get huge bunch of warnings that leaves me in concern
The whole idea of adding overrides to package.json was to avoid this kind of errors and build more clear peer dependencies.
What is the solution for this issue, with comparator, or maybe I mayble I install hardhat-deploy-ethers in the wrong way?
If anybody gets this error, it's because 9.2.0 version of npm doesn't accept npm:hardhat-deploy-ethers. Downgrade it to 8.9.0 and it will work. Reference: npm/cli#5955
Describe the bug
With the current version of hardhat (2.12.4)
hardhat-ethers
is loaded fromhardhat-toolbox
package. So as the best way to replace defaulthardhat-ethers
package withnpm:hardhat-deploy-ethers
I used custom overrides inpackage.json
file, which you can see belowIt worked perfectly well, however it stopped working few days ago and started to throw this error instead:
I decided to just install
hardhat-deploy-ethers
usingnpm install --save-dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers
command. This trick worked, however I get huge bunch of warnings that leaves me in concernThe whole idea of adding overrides to
package.json
was to avoid this kind of errors and build more clear peer dependencies.What is the solution for this issue, with comparator, or maybe I mayble I install
hardhat-deploy-ethers
in the wrong way?To Reproduce
Steps to reproduce the behavior:
npm install --save-dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers
versions
The text was updated successfully, but these errors were encountered: