zemse / hardhat-tracer

🕵️ allows you to see internal calls, events and storage operations in the console
MIT License
353 stars 36 forks source link

pnpm add hardhat-tracer fail #39

Closed mhxw closed 1 year ago

mhxw commented 1 year ago

This error happened while installing a direct dependency of /Users/xxx/XXProjects/xxx

The latest release of @nomicfoundation/ethereumjs-tx is "5.0.0".

If you need the full list of all 8 published versions run "$ pnpm view @nomicfoundation/ethereumjs-tx versions"

mhxw commented 1 year ago

package.json

"devDependencies": {
    "@ethereum-waffle/mock-contract": "^4.0.4",
    "@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
    "@nomicfoundation/hardhat-network-helpers": "^1.0.8",
    "@nomiclabs/hardhat-ethers": "^2.2.2",
    "@nomiclabs/hardhat-etherscan": "^3.1.7",
    "@nomiclabs/hardhat-waffle": "^2.0.5",
    "@openzeppelin/test-helpers": "^0.5.16",
    "@typechain/ethers-v5": "^10.2.0",
    "@typechain/hardhat": "^6.1.5",
    "@types/cbor": "5.0.1",
    "@types/chai": "^4.3.0",
    "@types/debug": "^4.1.7",
    "@types/mocha": "^9.1.0",
    "@types/node": "^18.11.18",
    "chai": "^4.3.7",
    "debug": "^4.3.3",
    "dotenv": "^16.0.0",
    "eth-crypto": "^2.2.0",
    "ethereum-waffle": "^3.4.0",
    "ethers": "^5.7.2",
    "hardhat": "^2.13.0",
    "hardhat-abi-exporter": "^2.10.1",
    "hardhat-contract-sizer": "^2.6.1",
    "hardhat-deploy": "^0.11.25",
    "hardhat-deploy-ethers": "^0.3.0-beta.13",
    "hardhat-gas-reporter": "^1.0.9",
    "prettier": "^2.8.7",
    "prettier-plugin-solidity": "1.1.3",
    "solhint": "^3.3.7",
    "solhint-plugin-prettier": "^0.0.5",
    "solidity-coverage": "^0.8.2",
    "hardhat-tracer": "^2.2.0",
    "table": "^6",
    "ts-node": "^10.9.1",
    "typechain": "^8.1.1",
    "typescript": "^5.0.2"
  }
zemse commented 1 year ago

Thanks for raising this, there was a peer dependency version problem. Can you try pnpm add hardhat-tracer@latest?

mhxw commented 1 year ago

Thanks for raising this, there was a peer dependency version problem. Can you try pnpm add hardhat-tracer@latest?

Thank you for your proposal. I have successfully solved this problem.