Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized task 'ignition' #6234

Closed
yegor256 opened this issue Feb 7, 2025 · 1 comment
Closed

Unrecognized task 'ignition' #6234

yegor256 opened this issue Feb 7, 2025 · 1 comment
Assignees

Comments

@yegor256
Copy link

yegor256 commented Feb 7, 2025

I'm following the instruction from this page:

npx hardhat ignition deploy ./ignition/modules/Lock.ts --network localhost

I'm getting:

Error HH303: Unrecognized task 'ignition'

Then:

$ npx hardhat --version
2.22.18

Broken documentation or I'm doing something wrong?

@yegor256
Copy link
Author

yegor256 commented Feb 7, 2025

My mistake, I didn't install dependencies:

{
  "devDependencies": {
    "@nomicfoundation/hardhat-ignition-ethers": "^0.15.9",
    "@nomicfoundation/hardhat-toolbox": "^5.0.0",
    "hardhat": "^2.22.18"
  }
}

@yegor256 yegor256 closed this as completed Feb 7, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Hardhat Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants